diff options
Diffstat (limited to 'gallery_dl/extractor/booru.py')
| -rw-r--r-- | gallery_dl/extractor/booru.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gallery_dl/extractor/booru.py b/gallery_dl/extractor/booru.py index be0027a..0176d76 100644 --- a/gallery_dl/extractor/booru.py +++ b/gallery_dl/extractor/booru.py @@ -51,7 +51,7 @@ class BooruExtractor(SharedConfigMixin, Extractor): for image in images: try: - url = image["file_url"] + url = self.get_file_url(image) except KeyError: continue if url.startswith("/"): @@ -86,6 +86,10 @@ class BooruExtractor(SharedConfigMixin, Extractor): """Collect metadata for extractor-job""" return {} + @staticmethod + def get_file_url(image): + return image["file_url"] + def extended_tags(self, image, page=None): """Retrieve extended tag information""" if not page: |
