mirror of
https://github.com/mikf/gallery-dl.git
synced 2025-01-31 11:41:35 +01:00
[imgth] fix image URLs
This commit is contained in:
parent
b63b126808
commit
ee5e20221f
@ -44,7 +44,7 @@ class ImgthGalleryExtractor(Extractor):
|
||||
while True:
|
||||
thumbs = text.extract(page, '<ul class="thumbnails">', '</ul>')[0]
|
||||
for url in text.extract_iter(thumbs, '<img src="', '"'):
|
||||
yield "https://imgth.com/images/" + url[24:]
|
||||
yield "https://imgth.com/images" + url[24:]
|
||||
if '<li class="next">' not in page:
|
||||
return
|
||||
pnum += 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user