allow for GalleryExtractors to skip loading gallery_url
This commit is contained in:
@@ -555,7 +555,13 @@ class GalleryExtractor(Extractor):
|
|||||||
|
|
||||||
def items(self):
|
def items(self):
|
||||||
self.login()
|
self.login()
|
||||||
page = self.request(self.gallery_url, notfound=self.subcategory).text
|
|
||||||
|
if self.gallery_url:
|
||||||
|
page = self.request(
|
||||||
|
self.gallery_url, notfound=self.subcategory).text
|
||||||
|
else:
|
||||||
|
page = None
|
||||||
|
|
||||||
data = self.metadata(page)
|
data = self.metadata(page)
|
||||||
imgs = self.images(page)
|
imgs = self.images(page)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user