Updated copyright for all source files.

This commit is contained in:
Bastian Kleineidam 2012-06-20 22:41:04 +02:00
parent c9082aee42
commit a17782428b
46 changed files with 100 additions and 1 deletions

View file

@ -86,3 +86,7 @@ deb:
comics: comics:
./dosage -v @@ > comics.log 2>&1 ./dosage -v @@ > comics.log 2>&1
.PHONY: update-copyright
update-copyright:
update-copyright --holder="Bastian Kleineidam"

2
dosage
View file

@ -1,7 +1,9 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
# Dosage, the webcomic downloader # Dosage, the webcomic downloader
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs # 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 # 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 # it under the terms of version 2 of the GNU General Public License as

View file

@ -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 Automated webcomic downloader. Dosage traverses webcomic websites in
order to download each strip of the comic. The intended use is for order to download each strip of the comic. The intended use is for

View file

@ -1,9 +1,12 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
import urllib2 import urllib2
import os import os
import locale import locale
import rfc822 import rfc822
import time import time
import shutil import shutil
# XXX why is this done??
locale.setlocale(locale.LC_ALL, '') locale.setlocale(locale.LC_ALL, '')
from .output import out from .output import out

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
import os.path import os.path
import time import time
import rss import rss

View file

@ -1,3 +1,6 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012 Bastian Kleineidam
import re import re
from .util import fetchUrl, fetchManyUrls, getQueryParams from .util import fetchUrl, fetchManyUrls, getQueryParams

View file

@ -1,3 +1,6 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012 Bastian Kleineidam
import time import time
class Output(object): class Output(object):

View file

@ -1 +1 @@
# -*- coding: iso-8859-1 -*-

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, MULTILINE from re import compile, MULTILINE
from ..helpers import _BasicScraper, regexNamer, bounceStarter, indirectStarter from ..helpers import _BasicScraper, regexNamer, bounceStarter, indirectStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile from re import compile
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile from re import compile
from ..helpers import ( from ..helpers import (

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE, MULTILINE from re import compile, IGNORECASE, MULTILINE
from ..helpers import _BasicScraper, bounceStarter, indirectStarter from ..helpers import _BasicScraper, bounceStarter, indirectStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper, bounceStarter, queryNamer from ..helpers import _BasicScraper, bounceStarter, queryNamer

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper, indirectStarter from ..helpers import _BasicScraper, indirectStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE, MULTILINE from re import compile, IGNORECASE, MULTILINE
from ..helpers import _BasicScraper, indirectStarter from ..helpers import _BasicScraper, indirectStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile from re import compile
from ..helpers import _BasicScraper, indirectStarter from ..helpers import _BasicScraper, indirectStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile from re import compile
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, MULTILINE from re import compile, MULTILINE
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile from re import compile
from ..helpers import _BasicScraper, indirectStarter from ..helpers import _BasicScraper, indirectStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper, queryNamer from ..helpers import _BasicScraper, queryNamer

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper, indirectStarter, _PHPScraper from ..helpers import _BasicScraper, indirectStarter, _PHPScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile from re import compile
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper, indirectStarter from ..helpers import _BasicScraper, indirectStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper, bounceStarter, queryNamer from ..helpers import _BasicScraper, bounceStarter, queryNamer

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile from re import compile
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile from re import compile
from ..helpers import _BasicScraper, bounceStarter from ..helpers import _BasicScraper, bounceStarter

View file

@ -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 re import compile, MULTILINE, IGNORECASE, sub
from os.path import splitext from os.path import splitext

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper, indirectStarter from ..helpers import _BasicScraper, indirectStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE from re import compile, IGNORECASE
from ..helpers import _BasicScraper, bounceStarter, indirectStarter from ..helpers import _BasicScraper, bounceStarter, indirectStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE, sub from re import compile, IGNORECASE, sub
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE, MULTILINE from re import compile, IGNORECASE, MULTILINE
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, IGNORECASE, DOTALL from re import compile, IGNORECASE, DOTALL
from ..helpers import _BasicScraper, queryNamer, bounceStarter from ..helpers import _BasicScraper, queryNamer, bounceStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile from re import compile
from ..helpers import _BasicScraper, bounceStarter from ..helpers import _BasicScraper, bounceStarter

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile, MULTILINE from re import compile, MULTILINE
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile from re import compile
from ..helpers import _BasicScraper from ..helpers import _BasicScraper

View file

@ -1,3 +1,5 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from __future__ import division from __future__ import division
import sys import sys

View file

@ -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. # TODO: Not sure if this RSS output is "valid", should be though.
# Might also be nice categorise Comics under one Item # Might also be nice categorise Comics under one Item

View file

@ -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 os
import sys import sys

View file

@ -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 from __future__ import division
import urllib2, urlparse import urllib2, urlparse

View file

@ -1,7 +1,9 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
# Dosage, the webcomic downloader # Dosage, the webcomic downloader
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs # 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 # 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 # it under the terms of version 2 of the GNU General Public License as

View file

@ -0,0 +1 @@
# -*- coding: iso-8859-1 -*-

View file

@ -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 tempfile
import shutil import shutil
from itertools import izip from itertools import izip

View file

@ -1,3 +1,6 @@
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012 Bastian Kleineidam
import re import re
from unittest import TestCase from unittest import TestCase