Tobias Gruetzmacher
d487485815
Read scraper modules from user data directory
...
This allows users to add scrapers without setting up a complete Python
development environment.
2020-10-04 23:46:57 +02:00
Tobias Gruetzmacher
e98a1601ca
Remove workaround for libxml2 older 2.9.3 (2015)
...
This workaround was written in 2016 while that version was still found
on many systems. Addionally, this workaround needs to be enabled by the
developer, who might not even be aware that they need to enable it for a
specific module. We still throw a warning to the user if running with
such an old libxml version.
2020-09-29 21:16:48 +02:00
Tobias Gruetzmacher
9c65c3e05f
Drop Python 2 support: six & other imports
2020-02-03 01:03:31 +01:00
Tobias Gruetzmacher
c6cd914c5c
Drop Python 2 support: Build & testing
2020-02-02 23:47:19 +01:00
Tobias Gruetzmacher
c48d96d5e3
Use imagesize instead of Pillow to get image sizes
2020-01-04 15:59:49 +01:00
Tobias Gruetzmacher
7615ee60d1
Switch from pkg_resources to importlib
...
One dependency less (at least für Python 3.8+) and it should be faster
(not tested).
2019-12-05 21:40:45 +01:00
Jakob Kogler
6fd3282047
Add comic "turnoff" ( closes #139 )
2019-12-01 21:46:00 +01:00
Tobias Gruetzmacher
1d910a5bbd
Remove pbr from runtime
2019-06-19 07:31:34 +02:00
Tobias Gruetzmacher
a02660a7d3
Replace custom @memoized with stdlib @lru_cache.
2016-10-29 00:46:49 +02:00
Tobias Gruetzmacher
f94caa8a16
Use terminal size calculation from standard library.
2016-10-14 23:55:10 +02:00
Tobias Gruetzmacher
efe1308db2
Replace home-grown Python2/3 compat. with six.
2016-05-05 23:33:48 +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
e78558fb9b
Make lxml a requirement.
...
With my last commit > 35% of supported comics use it ;)
2016-03-17 00:58:41 +01:00
Tobias Gruetzmacher
a41574e31a
Make version fetching a bit more robust (use pbr).
2015-11-06 22:08:14 +01: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
10d9eac574
Remove support for very old versions of "requests".
2015-11-02 23:24:01 +01: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
86b31dc12b
Depend on pycountry directly.
2015-04-21 21:56:54 +02:00
Tobias Gruetzmacher
78414cb3d7
Switch from PIL to Pillow, remove workarounds.
2015-04-20 22:46:12 +02:00
Tobias Gruetzmacher
f9f0b75d7c
Create new HTML parser based scraper class.
2014-07-26 11:28:43 +02:00
Bastian Kleineidam
06306f5b7e
Fix travis builds for PIL.
2013-12-10 08:48:32 +01:00
Bastian Kleineidam
67c2203e7e
Ensure maxium aspect ratio in RSS images.
2013-12-08 15:55:39 +01:00
Bastian Kleineidam
212cbc7c04
Fix pip requirements.
2013-04-03 20:27:55 +02:00
Bastian Kleineidam
9729c3aebf
Updated requirements.
2013-03-07 18:22:30 +01:00
Bastian Kleineidam
e5a04931d3
Various fixes and additions.
2012-12-12 17:41:29 +01:00
Bastian Kleineidam
1229b16b8d
Updated.
2012-12-08 21:30:41 +01:00
Bastian Kleineidam
0556ffd30a
Fix comics, improve tests, use python-requests.
2012-11-26 18:44:31 +01:00