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:
|
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
2
dosage
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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):
|
||||||
|
|
|
@ -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 re import compile, MULTILINE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, regexNamer, bounceStarter, indirectStarter
|
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 re import compile
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile
|
||||||
|
|
||||||
from ..helpers import (
|
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 re import compile, IGNORECASE, MULTILINE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, bounceStarter, indirectStarter
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, bounceStarter, queryNamer
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, indirectStarter
|
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 re import compile, IGNORECASE, MULTILINE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, indirectStarter
|
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 re import compile
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, indirectStarter
|
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 re import compile
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile, MULTILINE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, indirectStarter
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, queryNamer
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, indirectStarter, _PHPScraper
|
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 re import compile
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, indirectStarter
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, bounceStarter, queryNamer
|
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 re import compile
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, bounceStarter
|
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 re import compile, MULTILINE, IGNORECASE, sub
|
||||||
from os.path import splitext
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, indirectStarter
|
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 re import compile, IGNORECASE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, bounceStarter, indirectStarter
|
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 re import compile, IGNORECASE, sub
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile, IGNORECASE, MULTILINE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile, IGNORECASE, DOTALL
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, queryNamer, bounceStarter
|
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 re import compile
|
||||||
|
|
||||||
from ..helpers import _BasicScraper, bounceStarter
|
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 re import compile, MULTILINE
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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 re import compile
|
||||||
|
|
||||||
from ..helpers import _BasicScraper
|
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
|
from __future__ import division
|
||||||
|
|
||||||
import sys
|
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.
|
# 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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -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
|
||||||
|
|
|
@ -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 tempfile
|
||||||
import shutil
|
import shutil
|
||||||
from itertools import izip
|
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
|
import re
|
||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue