Commit Graph

50 Commits

Author SHA1 Message Date
Mike Fährmann
24c1317e0d [batoto] fix crash when manga/chapter contains a '-' (#5200) 2024-02-16 00:10:08 +01:00
Mike Fährmann
887ade30a5 [batoto] support more mirror domains (#5042) 2024-01-09 18:02:49 +01:00
Mike Fährmann
0a382a5092 [batoto] improve 'manga_id' extraction (#5042) 2024-01-09 17:25:04 +01:00
Mike Fährmann
657ed93a22 [batoto] improve v2 manga URL pattern
and add tests
2024-01-07 22:23:30 +01:00
Mike Fährmann
b11c352d66 [bato] rename to 'batoto'
to use the same category name as the previous bato.to site
2024-01-06 01:49:34 +01:00
Mike Fährmann
1e93955170 [batoto] remove module
Site officially shut down on 2018.01.18
2018-01-23 21:37:32 +01:00
Mike Fährmann
67d4462d26 [batoto] rudimentary Cloudflare bypass 2018-01-11 18:49:19 +01:00
Mike Fährmann
a794fffc6d [batoto] extend chapter-string regex (closes #60)
Non-numeric chapter indices exist after all ...
2018-01-05 12:53:50 +01:00
Mike Fährmann
7e7b64162b [batoto] handle error 10031 2017-11-12 20:49:37 +01:00
Mike Fährmann
68a0a7579c fix/improve some regular expressions 2017-10-09 22:37:50 +02:00
Mike Fährmann
633b376f35 improve/adjust default filename formats for manga sites 2017-10-02 19:06:24 +02: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
b84f48dfa5 [batoto] extract manga metadata 2017-09-14 14:55:57 +02:00
Mike Fährmann
c7ec103e15 [batoto] fix extraction of chapter URLs 2017-08-25 16:34:42 +02:00
Mike Fährmann
915a0137de improve 'extractor.request'
- add 'fatal' argument
- improve internal logic and flow
- raise known exception on error
- update exception hierarchy
2017-08-05 16:11:46 +02:00
Mike Fährmann
7aa9fa796a code cleanup and fixes 2017-07-25 14:59:41 +02:00
Mike Fährmann
f08af03845 Merge branch 'cookies' 2017-07-25 14:04:53 +02:00
Mike Fährmann
808f67ba7d use 'cookiedomain' for cookies set by object-config-values
otherwise these cookies would not be picked up by the
_check_cookies() method.
2017-07-22 15:43:35 +02:00
Mike Fährmann
0610ae5000 skip login if cookies are present 2017-07-17 10:33:36 +02:00
Mike Fährmann
34e6e1099e [batoto] adapt to https chapter URLs 2017-07-02 08:20:04 +02:00
Mike Fährmann
d3b04076f7 add .netrc support (#22)
Use the '--netrc' cmdline option or set the 'netrc' config option
to 'true' to enable the use of .netrc authentication data.

The 'machine' names for the .netrc info are the lowercase extractor
names (or categories): batoto, exhentai, nijie, pixiv, seiga.
2017-06-24 12:17:26 +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
4b967fa189 implement and use extractor.config() method 2017-04-25 17:12:48 +02:00
Mike Fährmann
841fd50242 move code into util.py 2017-03-28 13:12:44 +02:00
Mike Fährmann
6cbb078392 [batoto] fix cache time for login sessions
from 1 year to 1 week ...
2017-03-26 20:53:56 +02:00
Mike Fährmann
1d46be545c add login notifications 2017-03-17 09:42:59 +01:00
Mike Fährmann
66eb3d3488 fix tests 2017-03-14 08:51:58 +01:00
Mike Fährmann
dfe2c2dced [batoto] update test results 2017-03-11 01:47:05 +01:00
Mike Fährmann
94e10f249a code adjustments according to pep8 nr2 2017-02-01 00:53:19 +01:00
Mike Fährmann
98d6d131a3 update unittests for batoto and yonkouprod 2017-01-08 17:30:44 +01:00
Mike Fährmann
a849d8f2f7 add a few more tests 2016-12-31 00:51:06 +01:00
Mike Fährmann
cb180507ab [batoto] add manga extractor 2016-12-23 00:33:51 +01:00
Mike Fährmann
1134339c1f Merge branch 'category' 2016-09-25 17:52:55 +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
0a3fb198f3 [batoto] raise exception if chapter is unavailable (#4) 2016-09-24 13:26:19 +02:00
Mike Fährmann
975a7cb6b9 [batoto] add (optional) login capabilities 2016-09-21 00:10:22 +02:00
Mike Fährmann
49a05c32ed add missing tests 2016-09-19 16:15:27 +02:00
Mike Fährmann
d7e168799d consistent extractor naming scheme + docstrings 2016-09-12 10:34:31 +02:00
Mike Fährmann
808cf69556 update a few tests 2016-09-01 18:28:16 +02:00
Mike Fährmann
6f7d42b974 update tests 2016-07-12 12:08:36 +02:00
Mike Fährmann
2449532132 add more extractor test-cases 2015-12-13 04:36:44 +01:00
Mike Fährmann
4d56b76aa8 update all other extractors 2015-11-21 04:26:30 +01:00
Mike Fährmann
c2f0720184 code cleanup to use nameext_from_url 2015-11-16 17:32:26 +01:00
Mike Fährmann
6ed26864ea [batoto] rewrite and fix 2015-11-05 23:46:19 +01:00
Mike Fährmann
3c13548f29 rewrite extractors to use config-module 2015-10-05 15:51:08 +02:00
Mike Fährmann
42b8e81a68 rewrite extractors to use text-module 2015-10-03 15:43:02 +02:00
Mike Fährmann
c0530a635c [batoto] a few fixes
- removed 'volume' fields from default format strings
- fixed parsing  by making volumes optional
- removed debug output
- updated docstring
- added a few unescape calls
2015-05-10 15:47:44 +02:00
Mike Fährmann
f3e208c0ab [batoto] update to new extractor interface 2015-04-11 23:49:36 +02:00
Mike Fährmann
deef91eddc initial commit 2014-10-12 21:56:44 +02:00