kopia lustrzana https://github.com/bellingcat/auto-archiver
Revert change to twitter_archiver
As per discussion at: https://github.com/bellingcat/auto-archiver/pull/165#discussion_r1905930837pull/163/head
rodzic
8f17a235f3
commit
1b1af2f0b1
|
@ -162,7 +162,8 @@ class TwitterArchiver(Archiver):
|
|||
.set_timestamp(timestamp)
|
||||
if not tweet.get("entities", {}).get("media"):
|
||||
logger.debug('No media found, archiving tweet text only')
|
||||
return result.success("twitter-ytdl")
|
||||
result.status = "twitter-ytdl"
|
||||
return result
|
||||
for i, tw_media in enumerate(tweet["entities"]["media"]):
|
||||
media = Media(filename="")
|
||||
mimetype = ""
|
||||
|
|
Ładowanie…
Reference in New Issue