18 Commits

Author SHA1 Message Date
Mike Fährmann
53cdfaac37 [common] add reference to 'exception' module to Extractor class
- remove 'exception' imports
- replace with 'self.exc'
2026-02-15 10:57:22 +01:00
Mike Fährmann
5ddee423ed [exhentai][schalenetwork] enable 'tags' categories by default 2026-02-03 10:49:35 +01:00
Mike Fährmann
8e855bd810 replace '// 1000' with '/ 1000' for timestamp conversions
regular division is slightly faster than floor division
and a float timestamp value is treated the same as an integer one
2026-01-04 16:51:31 +01:00
Mike Fährmann
00c6821a3f replace 2-element f-strings with simple '+' concatenations
Python's 'ast' module and its 'NodeVisitor' class
were incredibly helpful in identifying these
2025-12-22 11:26:04 +01:00
Mike Fährmann
d0f06be0d2 use 'operator +' when building 'pattern' 2025-12-20 22:07:44 +01:00
Mike Fährmann
5c7a27e003 [schalenetwork] fix 'tags' categories (#8625) 2025-11-29 09:29:21 +01:00
Mike Fährmann
c8fc790028 merge branch 'dt': move datetime utils into separate module
- use 'datetime.fromisoformat()' when possible (#7671)
- return a datetime-compatible object for invalid datetimes
  (instead of a 'str' value)
2025-10-20 09:30:05 +02:00
Mike Fährmann
11ccadfd8c [schalenetwork][hdoujin] re-implement 'cbz' option (#8431) 2025-10-18 21:22:49 +02:00
Mike Fährmann
085616e0a8 [dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()' 2025-10-17 17:43:06 +02:00
Mike Fährmann
0b707df6e3 [hdoujin] add 'reclass' tag type (#8290) 2025-09-25 09:26:29 +02:00
Mike Fährmann
3c57ad414f [hdoujin] extract 'source' metadata (#8280)
requires 'token'
2025-09-24 07:10:51 +02:00
Mike Fährmann
db208ca1bd [hdoujin] add support (#6810) 2025-09-17 19:29:50 +02:00
Mike Fährmann
1b9e1ff9ff [schalenetwork] fix extraction (#6948 #7391 #7728)
- remove 'cbz' option
- require 'crt' query parameter token as well as a matching User-Agent
2025-09-17 19:29:50 +02:00
Mike Fährmann
f2a72d8d1e replace 'request(…).json()' with 'request_json(…)' 2025-06-29 17:50:19 +02:00
Mike Fährmann
9dbe33b6de replace old %-formatted and .format(…) strings with f-strings (#7671)
mostly using flynt
https://github.com/ikamensh/flynt
2025-06-29 17:50:19 +02:00
Mike Fährmann
26e81e4162 [common] rename 'gallery_url'/'manga_url' to 'page_url 2025-06-26 22:06:57 +02:00
Mike Fährmann
e08ec7e083 update copyright notices 2025-06-13 00:03:41 +02:00
Mike Fährmann
922c296482 [kemono][coomer][schalenetwork] rename modules & extractors
category changes:

- kemonoparty -> kemono
- coomerparty -> coomer
- koharu      -> schalenetwork

also wanted to rename '2chan' -> 'sturdychan',
but the site's main page is still titled '2chen'
2025-05-30 17:51:49 +02:00