Updated copyright for all source files.
This commit is contained in:
parent
c9082aee42
commit
a17782428b
46 changed files with 100 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -86,3 +86,7 @@ deb:
|
|||
|
||||
comics:
|
||||
./dosage -v @@ > comics.log 2>&1
|
||||
|
||||
.PHONY: update-copyright
|
||||
update-copyright:
|
||||
update-copyright --holder="Bastian Kleineidam"
|
||||
|
|
2
dosage
2
dosage
|
@ -1,7 +1,9 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: iso-8859-1 -*-
|
||||
|
||||
# Dosage, the webcomic downloader
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
# Copyright (C) 2012 Bastian Kleineidam
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of version 2 of the GNU General Public License as
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
# Copyright (C) 2012 Bastian Kleineidam
|
||||
"""
|
||||
Automated webcomic downloader. Dosage traverses webcomic websites in
|
||||
order to download each strip of the comic. The intended use is for
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
import urllib2
|
||||
import os
|
||||
import locale
|
||||
import rfc822
|
||||
import time
|
||||
import shutil
|
||||
# XXX why is this done??
|
||||
locale.setlocale(locale.LC_ALL, '')
|
||||
|
||||
from .output import out
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
import os.path
|
||||
import time
|
||||
import rss
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
# Copyright (C) 2012 Bastian Kleineidam
|
||||
import re
|
||||
|
||||
from .util import fetchUrl, fetchManyUrls, getQueryParams
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
# Copyright (C) 2012 Bastian Kleineidam
|
||||
import time
|
||||
|
||||
class Output(object):
|
||||
|
|
|
@ -1 +1 @@
|
|||
|
||||
# -*- coding: iso-8859-1 -*-
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, MULTILINE
|
||||
|
||||
from ..helpers import _BasicScraper, regexNamer, bounceStarter, indirectStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile
|
||||
|
||||
from ..helpers import (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE, MULTILINE
|
||||
|
||||
from ..helpers import _BasicScraper, bounceStarter, indirectStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper, bounceStarter, queryNamer
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper, indirectStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE, MULTILINE
|
||||
|
||||
from ..helpers import _BasicScraper, indirectStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile
|
||||
|
||||
from ..helpers import _BasicScraper, indirectStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, MULTILINE
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile
|
||||
|
||||
from ..helpers import _BasicScraper, indirectStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper, queryNamer
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper, indirectStarter, _PHPScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper, indirectStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper, bounceStarter, queryNamer
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile
|
||||
|
||||
from ..helpers import _BasicScraper, bounceStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, MULTILINE, IGNORECASE, sub
|
||||
from os.path import splitext
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper, indirectStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE
|
||||
|
||||
from ..helpers import _BasicScraper, bounceStarter, indirectStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE, sub
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE, MULTILINE
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, IGNORECASE, DOTALL
|
||||
|
||||
from ..helpers import _BasicScraper, queryNamer, bounceStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile
|
||||
|
||||
from ..helpers import _BasicScraper, bounceStarter
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile, MULTILINE
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from re import compile
|
||||
|
||||
from ..helpers import _BasicScraper
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
from __future__ import division
|
||||
|
||||
import sys
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
# TODO: Not sure if this RSS output is "valid", should be though.
|
||||
# Might also be nice categorise Comics under one Item
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
# Copyright (C) 2012 Bastian Kleineidam
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
# Copyright (C) 2012 Bastian Kleineidam
|
||||
from __future__ import division
|
||||
|
||||
import urllib2, urlparse
|
||||
|
|
2
setup.py
2
setup.py
|
@ -1,7 +1,9 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: iso-8859-1 -*-
|
||||
|
||||
# Dosage, the webcomic downloader
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
# Copyright (C) 2012 Bastian Kleineidam
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of version 2 of the GNU General Public License as
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
|
@ -1,3 +1,6 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
# Copyright (C) 2012 Bastian Kleineidam
|
||||
import tempfile
|
||||
import shutil
|
||||
from itertools import izip
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
||||
# Copyright (C) 2012 Bastian Kleineidam
|
||||
import re
|
||||
from unittest import TestCase
|
||||
|
||||
|
|
Loading…
Reference in a new issue