diff --git a/gallery_dl/extractor/pornhub.py b/gallery_dl/extractor/pornhub.py index 0b734a77..d3619da6 100644 --- a/gallery_dl/extractor/pornhub.py +++ b/gallery_dl/extractor/pornhub.py @@ -111,7 +111,7 @@ class PornhubGalleryExtractor(PornhubExtractor): "views" : text.parse_int(img["times_viewed"]), "score" : text.parse_int(img["vote_percent"]), } - key = img["next"] + key = str(img["next"]) if key == end: return