diff --git a/gallery_dl/extractor/twitter.py b/gallery_dl/extractor/twitter.py index 509f1d1d6b..291c189383 100644 --- a/gallery_dl/extractor/twitter.py +++ b/gallery_dl/extractor/twitter.py @@ -139,7 +139,7 @@ def _extract_card(self, tweet, files): if key in bvals: files.append(bvals[key]["image_value"]) return - else: + elif self.videos: url = "ytdl:{}/i/web/status/{}".format(self.root, tweet["id_str"]) files.append({"url": url})