require 'extension' data for each URL (#382)

This commit is contained in:
Mike Fährmann
2019-08-14 12:28:21 +02:00
parent a67413d64f
commit 23251356cb
5 changed files with 9 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ class TwitterExtractor(Extractor):
if self.videos and "-videoContainer" in tweet:
data["num"] = 1
data["extension"] = None
url = "ytdl:{}/{}/status/{}".format(
self.root, data["user"], data["tweet_id"])
yield Message.Url, url, data