[kissgoddess] extract all images (closes #2473)
and not only the first two per page https://github.com/mikf/gallery-dl/issues/1052#issuecomment-1047367383
This commit is contained in:
@@ -20,7 +20,7 @@ class KissgoddessGalleryExtractor(GalleryExtractor):
|
|||||||
test = ("https://kissgoddess.com/album/18285.html", {
|
test = ("https://kissgoddess.com/album/18285.html", {
|
||||||
"pattern": r"https://pic\.kissgoddess\.com"
|
"pattern": r"https://pic\.kissgoddess\.com"
|
||||||
r"/gallery/16473/18285/s/\d+\.jpg",
|
r"/gallery/16473/18285/s/\d+\.jpg",
|
||||||
"count": 8,
|
"count": 19,
|
||||||
"keyword": {
|
"keyword": {
|
||||||
"gallery_id": 18285,
|
"gallery_id": 18285,
|
||||||
"title": "[Young Champion Extra] 2016.02 No.03 菜乃花 安枝瞳 葉月あや",
|
"title": "[Young Champion Extra] 2016.02 No.03 菜乃花 安枝瞳 葉月あや",
|
||||||
@@ -45,6 +45,8 @@ class KissgoddessGalleryExtractor(GalleryExtractor):
|
|||||||
while page:
|
while page:
|
||||||
for url in text.extract_iter(page, "<img src='", "'"):
|
for url in text.extract_iter(page, "<img src='", "'"):
|
||||||
yield url, None
|
yield url, None
|
||||||
|
for url in text.extract_iter(page, "<img data-original='", "'"):
|
||||||
|
yield url, None
|
||||||
|
|
||||||
pnum += 1
|
pnum += 1
|
||||||
url = "{}/album/{}_{}.html".format(
|
url = "{}/album/{}_{}.html".format(
|
||||||
|
|||||||
Reference in New Issue
Block a user