diff options
| author | 2021-12-01 14:44:00 -0500 | |
|---|---|---|
| committer | 2021-12-01 14:44:00 -0500 | |
| commit | a5aecc343fd2886e7ae09bb3e2afeec38f175755 (patch) | |
| tree | 06a284b3d73700bd38116423e2480afa516255c2 /gallery_dl/extractor/skeb.py | |
| parent | fc8c5e642017e2b4e5299e2093e72b316479690d (diff) | |
New upstream version 1.19.3.upstream/1.19.3
Diffstat (limited to 'gallery_dl/extractor/skeb.py')
| -rw-r--r-- | gallery_dl/extractor/skeb.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/skeb.py b/gallery_dl/extractor/skeb.py index c1a8878..2c806ad 100644 --- a/gallery_dl/extractor/skeb.py +++ b/gallery_dl/extractor/skeb.py @@ -21,6 +21,7 @@ class SkebExtractor(Extractor): def __init__(self, match): Extractor.__init__(self, match) self.user_name = match.group(1) + self.thumbnails = self.config("thumbnails", False) def items(self): for post_num in self.posts(): @@ -94,7 +95,7 @@ class SkebExtractor(Extractor): return resp, post def _get_urls_from_post(self, resp, post): - if "og_image_url" in resp: + if self.thumbnails and "og_image_url" in resp: post["content_category"] = "thumb" post["file_id"] = "thumb" post["file_url"] = resp["og_image_url"] |
