mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
fix tests and small stuff
This commit is contained in:
parent
fbfc8d0f78
commit
8456b84a12
@ -57,7 +57,7 @@ class PawooAccountExtractor(PawooExtractor):
|
||||
test = [
|
||||
("https://pawoo.net/@kuroda", {
|
||||
"url": "a3f9e7555f2b024554c0e9b6cbcc7991af13cf99",
|
||||
"keyword": "9ef830113658fa15ed0b931bc3c650c417613162",
|
||||
"keyword": "81e084503755d564ef15ef0db88ae1d9cf89f258",
|
||||
}),
|
||||
("https://pawoo.net/@zZzZz/", {
|
||||
"exception": exception.NotFoundError,
|
||||
@ -85,7 +85,7 @@ class PawooStatusExtractor(PawooExtractor):
|
||||
test = [
|
||||
("https://pawoo.net/@takehana_note/559043", {
|
||||
"url": "f95cc8c0274c4143e7e21dbdc693b90c65b596e3",
|
||||
"keyword": "4fa98754e1bee4be244fd72d01a1cefdc12f9fbb",
|
||||
"keyword": "590105849b0435e17ca65258b9150cd0502d24da",
|
||||
"content": "3b148cf90174173355fe34179741ce476921b2fc",
|
||||
}),
|
||||
("https://pawoo.net/@zZzZz/12346", {
|
||||
|
@ -104,7 +104,7 @@ class RedditAPI():
|
||||
def __init__(self, extractor, client_id="6N9uN0krSDE-ig"):
|
||||
self.extractor = extractor
|
||||
self.client_id = extractor.config("client-id", client_id)
|
||||
self.comments = extractor.config("comments", 200)
|
||||
self.comments = extractor.config("comments", 500)
|
||||
self.session = extractor.session
|
||||
self.session.headers["User-Agent"] = ("Python:gallery-dl:0.8.4"
|
||||
" (by /u/mikf1)")
|
||||
|
@ -26,5 +26,5 @@ class YonkouprodMangaExtractor(foolslide.FoolslideMangaExtractor):
|
||||
category = "yonkouprod"
|
||||
pattern = foolslide.manga_pattern(r"(?:www\.)?yonkouprod\.com/reader")
|
||||
test = [("https://yonkouprod.com/reader/series/attack-on-titan/", {
|
||||
"url": "9d43602ad4a3a8cf65922bf106affa5a6b9523b1",
|
||||
"url": "0573665fc91e56d9e7f05bf7a4415af2c59cb43b",
|
||||
})]
|
||||
|
Loading…
Reference in New Issue
Block a user