kopia lustrzana https://github.com/bellingcat/auto-archiver
fix: missing key bug
rodzic
7aeb38a773
commit
3095ce3054
|
@ -75,6 +75,7 @@ class TwitterArchiver(Archiver):
|
||||||
urls.append(p["url"])
|
urls.append(p["url"])
|
||||||
|
|
||||||
# 1 tweet has 1 video max
|
# 1 tweet has 1 video max
|
||||||
|
if "video" in tweet:
|
||||||
v = tweet["video"]
|
v = tweet["video"]
|
||||||
urls.append(self.choose_variant(v.get("variants", [])))
|
urls.append(self.choose_variant(v.get("variants", [])))
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue