|
|
|
@ -4,14 +4,14 @@
|
|
|
|
|
# it under the terms of the GNU General Public License version 2 as
|
|
|
|
|
# published by the Free Software Foundation.
|
|
|
|
|
|
|
|
|
|
from gallery_dl.extractor import bato
|
|
|
|
|
from gallery_dl.extractor import batoto
|
|
|
|
|
from gallery_dl import exception
|
|
|
|
|
|
|
|
|
|
__tests__ = (
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://bato.to/title/86408-i-shall-master-this-family-official/1681030-ch_8",
|
|
|
|
|
"#category": ("", "bato", "chapter"),
|
|
|
|
|
"#class" : bato.BatoChapterExtractor,
|
|
|
|
|
"#category": ("", "batoto", "chapter"),
|
|
|
|
|
"#class" : batoto.BatotoChapterExtractor,
|
|
|
|
|
"#count" : 66,
|
|
|
|
|
|
|
|
|
|
"manga" : "I Shall Master this Family! [Official]",
|
|
|
|
@ -21,8 +21,8 @@ __tests__ = (
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://bato.to/title/104929-86-eighty-six-official/1943513-vol_1-ch_5",
|
|
|
|
|
"#comment" : "volume (vol) in url",
|
|
|
|
|
"#category": ("", "bato", "chapter"),
|
|
|
|
|
"#class" : bato.BatoChapterExtractor,
|
|
|
|
|
"#category": ("", "batoto", "chapter"),
|
|
|
|
|
"#class" : batoto.BatotoChapterExtractor,
|
|
|
|
|
"#count" : 7,
|
|
|
|
|
|
|
|
|
|
"manga" : "86--EIGHTY-SIX (Official)",
|
|
|
|
@ -32,8 +32,8 @@ __tests__ = (
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://bato.to/title/113742-futsutsuka-na-akujo-de-wa-gozaimasu-ga-suuguu-chouso-torikae-den-official",
|
|
|
|
|
"#category": ("", "bato", "manga"),
|
|
|
|
|
"#class" : bato.BatoMangaExtractor,
|
|
|
|
|
"#category": ("", "batoto", "manga"),
|
|
|
|
|
"#class" : batoto.BatotoMangaExtractor,
|
|
|
|
|
"#count" : ">= 21",
|
|
|
|
|
|
|
|
|
|
"manga" : "Futsutsuka na Akujo de wa Gozaimasu ga - Suuguu Chouso Torikae Den (Official)",
|
|
|
|
@ -41,8 +41,8 @@ __tests__ = (
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://bato.to/title/104929-86-eighty-six-official",
|
|
|
|
|
"#comment" : "Manga with number in name",
|
|
|
|
|
"#category": ("", "bato", "manga"),
|
|
|
|
|
"#class" : bato.BatoMangaExtractor,
|
|
|
|
|
"#category": ("", "batoto", "manga"),
|
|
|
|
|
"#class" : batoto.BatotoMangaExtractor,
|
|
|
|
|
"#count" : ">= 18",
|
|
|
|
|
|
|
|
|
|
"manga" : "86--EIGHTY-SIX (Official)",
|
|
|
|
@ -50,16 +50,16 @@ __tests__ = (
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://bato.to/title/140046-the-grand-duke-s-fox-princess-mgchan",
|
|
|
|
|
"#comment" : "Non-English translation (Indonesian)",
|
|
|
|
|
"#category": ("", "bato", "manga"),
|
|
|
|
|
"#class" : bato.BatoMangaExtractor,
|
|
|
|
|
"#category": ("", "batoto", "manga"),
|
|
|
|
|
"#class" : batoto.BatotoMangaExtractor,
|
|
|
|
|
"#count" : ">= 29",
|
|
|
|
|
|
|
|
|
|
"manga" : "The Grand Duke’s Fox Princess ⎝⎝MGCHAN⎠⎠",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://bato.to/title/134270-removed",
|
|
|
|
|
"#category": ("", "bato", "manga"),
|
|
|
|
|
"#class" : bato.BatoMangaExtractor,
|
|
|
|
|
"#category": ("", "batoto", "manga"),
|
|
|
|
|
"#class" : batoto.BatotoMangaExtractor,
|
|
|
|
|
"#exception": exception.StopExtraction,
|
|
|
|
|
}
|
|
|
|
|
)
|