[weibo] fix 'livephoto' filename extensions (#5287)
This commit is contained in:
@@ -118,7 +118,7 @@ class WeiboExtractor(Extractor):
|
||||
append(pic["largest"].copy())
|
||||
|
||||
file = {"url": pic["video"]}
|
||||
file["filehame"], _, file["extension"] = \
|
||||
file["filename"], _, file["extension"] = \
|
||||
pic["video"].rpartition("%2F")[2].rpartition(".")
|
||||
append(file)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user