You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Twitter, if a tweet includes two videos or includes a video that is accompanied by pictures, it constantly says "Downloading JSON metadata" on Python 3.9.9 executed using VS Code. And at the end, the video is not downloaded.
I think this is #31281, which will be fixed once someone gets around to back-porting the yt-dlp extractor and assuming that Twitter is still operating and still offering the APIs used by the extractor.
if you just want the video, click on where it says share - click copy link to tweet
and do youtube-dl -o '%(title).20s' "https://twitter.com/Aiydin4KSTUV/status/1643026535790551040?s=20"
to download the video. you may have to add .mp4 to the end of the file name once it is downloaded.
Checklist
Verbose log
Description
On Twitter, if a tweet includes two videos or includes a video that is accompanied by pictures, it constantly says "Downloading JSON metadata" on Python 3.9.9 executed using VS Code. And at the end, the video is not downloaded.
Example tweet's URL given to youtb-dl:
The tweet includes a short url as "https://t.co/06IqPawxe8" that if expanded becomes "https://twitter.com/Aiydin4KSTUV/status/1643027903897010178/video/1". Giving the expanded url did not work either.
The Python code is:
import youtube_dl
wlink=r"https://twitter.com/Aiydin4KSTUV/status/1643027903897010178"
ydl_opts = {'outtmpl': filename
,'forceduration':True
,'quiet': False}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
ydl.download([wlink])
The text was updated successfully, but these errors were encountered: