Tobias Gruetzmacher
060281e5ff
Use concrete scraper objects everywhere.
...
This is a first step for #42 . Since most access to the scraper classes
is through instances, modules can now dynamically override url and name
(name is now a property).
2016-04-13 22:17:30 +02:00
Tobias Gruetzmacher
bc10bd9a4d
Streamline color output.
...
- Depend on external colorama instead of embedding an old copy.
- Move most output code into output module.
- Convert pager to context manager.
2016-04-10 03:45:00 +02:00
Tobias Gruetzmacher
b819afec39
Switch build to PBR.
...
This gets us:
- Automatic changelog
- Automatic authors list
- Automatic git version management
2015-11-03 23:27:53 +01:00
Tobias Gruetzmacher
fa9271b970
Fix display of disabled reasons.
2015-07-21 23:52:38 +02:00
Tobias Gruetzmacher
808b624e5f
Remove hard dependency on pycountry again.
...
This basically reverts commit 86b31dc12b
.
It now works like this: If the use has pycountry installed, it is used.
If not, Dosage falls back to a small internal list generated from
pycountry by scripts/mklanguages.py.
This means additional work if we ever decide to translate Dosage, since
pycountry already has all the translations for language names...
This fixes #23 .
2015-07-11 01:27:39 +02:00
Tobias Gruetzmacher
d78db39df9
Support pycountry 1.12.
2015-06-24 01:04:28 +02:00
Damjan Košir
6efb79e7f6
added --allow-multiple option
2015-05-25 22:20:47 +12:00
Damjan Košir
4529fdee3b
adding no downsize option
2015-05-20 22:38:29 +12:00
Tobias Gruetzmacher
a36fef4a24
Fix bug in verbose single comic list.
2015-05-16 14:49:24 +02:00
Damjan Košir
ac7b0d7e0e
adding parallel run option
2015-04-26 00:19:08 +12:00
Tobias Gruetzmacher
86b31dc12b
Depend on pycountry directly.
2015-04-21 21:56:54 +02:00
Tobias Gruetzmacher
ff21df596b
Remove descriptions and genres ( closes #9 ).
...
Maintaining the descriptions creates quite a bit of overhead (finding
them, copying them, checking if they are still correct) for a minimal
user benefit.
PS: Viewing this diff should be easier in a difftool that shows changes
in a line, for example kdiff3.
2015-04-20 20:29:09 +02:00
Tobias Gruetzmacher
e92a3fb3a1
New feature: Comic modules ca be "disabled".
...
This is modeled parallel to the "adult" feature, except the user can't
override it via the command line. Each comic module can override the
classmethod getDisabledReasons and give the user a reason why this
module is disabled. The user can see the reason in the comic list (-l or
--singlelist) and the comic module refuses to run, showing the same
message.
This is currently used to disable modules that use the _ParserScraper if
the LXML python module is missing.
2014-10-13 21:43:46 +02:00
Bastian Kleineidam
15ef59262a
Make threads interruptable.
2014-03-04 18:38:46 +01:00
Bastian Kleineidam
1f452527e5
Expand user in basepath
2014-01-19 13:16:03 +01:00
Bastian Kleineidam
ef17268ace
Fix comic list output.
2014-01-05 17:37:13 +01:00
Bastian Kleineidam
082facf405
Updated documentation.
2014-01-05 17:26:03 +01:00
Bastian Kleineidam
4d63920434
Updated copyright.
2014-01-05 16:50:57 +01:00
Bastian Kleineidam
1affe58370
Use thread name in log output.
2014-01-05 16:17:34 +01:00
Bastian Kleineidam
1a3d3f517b
Implement parallel downloading.
2014-01-05 16:01:11 +01:00
Bastian Kleineidam
1f38895681
Ensure only on instance of dosage is running to prevent accedental DoS on sites with multiple comics.
2014-01-05 10:36:22 +01:00
Bastian Kleineidam
2816566a3a
Display genres in module help.
2013-11-12 20:09:13 +01:00
Bastian Kleineidam
52593f93b4
Work around unprintable exception messages.
2013-07-18 20:39:40 +02:00
Bastian Kleineidam
aa2f9ae9d8
Fix the --continue option.
2013-06-24 22:13:28 +02:00
Bastian Kleineidam
b4d642d408
Another output test.
2013-04-30 18:09:42 +02:00
Bastian Kleineidam
5f6ed7e05d
More output stuff.
2013-04-30 07:24:54 +02:00
Bastian Kleineidam
ebdc1e6359
More unicode output fixes.
2013-04-30 06:41:19 +02:00
Bastian Kleineidam
110d070c4f
Some unicode fixes.
2013-04-29 21:58:31 +02:00
Bastian Kleineidam
624e640ed3
Help text fixes.
2013-04-29 07:36:08 +02:00
Bastian Kleineidam
05dbc51d3e
Detect completed end-of-life comics.
2013-04-25 22:40:06 +02:00
Bastian Kleineidam
7afb05ae93
Strip path separator from comic names.
2013-04-25 19:00:34 +02:00
Bastian Kleineidam
05e6ffb7a2
Print URL in module help.
2013-04-17 21:59:57 +02:00
Bastian Kleineidam
6d403c7957
Add note about urllib3 debugging.
2013-04-11 18:27:44 +02:00
Bastian Kleineidam
f7c3d39fcf
Add --dry-run option for testing.
2013-04-10 21:47:05 +02:00
Bastian Kleineidam
eb7247623b
Improved message output.
2013-04-09 22:13:38 +02:00
Bastian Kleineidam
30895b5693
Fix wrong func name.
2013-04-09 22:11:45 +02:00
Bastian Kleineidam
b9dc385ff2
Implemented voting
2013-04-09 19:33:50 +02:00
Bastian Kleineidam
e762f269b7
First part of voting stuff.
2013-04-08 20:19:10 +02:00
Bastian Kleineidam
7584f0b647
Add version update check.
2013-04-08 20:17:02 +02:00
Bastian Kleineidam
9ec48d57d9
Use integers for screen positions, not floats.
2013-04-05 18:48:33 +02:00
Bastian Kleineidam
3c3470511e
Use new io.StringIO
2013-04-04 18:30:04 +02:00
Bastian Kleineidam
181a643f43
Remove deprecated mainline script.
2013-04-02 23:01:07 +02:00
Bastian Kleineidam
bed69ee2d7
Fix description.
2013-03-27 19:59:24 +01:00
Bastian Kleineidam
77ba48388f
Simplify comic selection code.
2013-03-26 17:29:03 +01:00
Bastian Kleineidam
c54cacc97e
Only warn on selected comics.
2013-03-26 17:28:36 +01:00
Bastian Kleineidam
01c2afc264
Print exception tracebacks.
2013-03-25 19:39:37 +01:00
Bastian Kleineidam
bb9a5c42b4
Tag non-english comics.
2013-03-18 18:16:05 +01:00
Bastian Kleineidam
d47670231a
Add some documentation.
2013-03-13 18:31:50 +01:00
Bastian Kleineidam
db4b6282b2
Make xargs example actually work
2013-03-13 07:18:00 +01:00
Bastian Kleineidam
dc2e3c807f
Fix exit code on errors.
2013-03-11 20:05:06 +01:00