Commit Graph

17 Commits

Author SHA1 Message Date
Mike Fährmann
6b8e3003df [hentai2read] ensure consistent extraction results 2017-12-03 02:34:35 +01:00
Mike Fährmann
9fc1d0c901 implement and use 'util.safe_int()'
same as Python's 'int()', except it doesn't raise any exceptions and
accepts a default value
2017-09-24 15:59:25 +02:00
Mike Fährmann
92c8a6cb01 [hentai2read] extract hmanga metadata 2017-09-20 13:28:57 +02:00
Mike Fährmann
6f30cf4c64 change keyword names to valid Python identifiers
This commit mostly replaces all minus-signs ('-') in keyword names with
underscores ('_') to allow them to be used in filter-expressions. For
example 'gallery-id' got renamed to 'gallery_id'.

(It is theoretically possible to access any variable, regardless of its
name, with 'locals()["NAME"]', but that seems a bit too convoluted if
just 'NAME' could be enough)
2017-09-10 22:20:47 +02:00
Mike Fährmann
e61a3a56d1 [hentai2read] fix and update keywords
Added the "author" keyword and changed the name of a few others to be
consistent with other manga/chapter extractors.
2017-08-22 15:01:47 +02:00
Mike Fährmann
6950708e52 [hentaicdn] use HTTPS 2017-08-02 18:31:21 +02:00
Mike Fährmann
f226417420 simplify code by using a MangaExtractor base class 2017-05-20 11:27:43 +02:00
Mike Fährmann
f361cb13e0 [hentai2read] fix extraction 2017-02-26 02:25:36 +01:00
Mike Fährmann
94e10f249a code adjustments according to pep8 nr2 2017-02-01 00:53:19 +01:00
Mike Fährmann
c155c7b94b [hentai2read] put some common code in a base class 2016-10-05 09:19:09 +02:00
Mike Fährmann
56d810c896 update keyword hashes for tests 2016-09-25 17:28:46 +02:00
Mike Fährmann
19c2d4ff6f remove explicit (sub)category keywords 2016-09-25 14:22:07 +02:00
Mike Fährmann
d7e168799d consistent extractor naming scheme + docstrings 2016-09-12 10:34:31 +02:00
Mike Fährmann
1416e7f6f7 [hentai2read] fix parsing for new page layout 2016-04-20 08:25:06 +02:00
Mike Fährmann
595e5872d3 [hentai2read] add multi-chapter extractor 2016-02-20 06:49:35 +01:00
Mike Fährmann
f3dc8851c8 [hentai2read] add a couple more keywords 2016-02-20 06:39:13 +01:00
Mike Fährmann
20228a003f [hentai2read] add extractor 2016-02-19 15:24:49 +01:00