|
|
|
|
|
by SuperCuber
1039 days ago
|
|
Interesting. I ran the script to extract the json - that part was almost instant, then i used the first `url` field of `streamingData.adaptiveFormats`. I then ran curl 'https://...googlevideo.com...' --output video.mp4
for me the download is throttled to "768k", i assume thats in bits per second and not bytes which is very low: the random video i tried would take 8 minutes.on the other hand, yt-dlp videoIdHere
does its processing then downloads the whole thing in about 5 seconds.Does that curl command run much faster for you? Or do you do something else? |
|
Use this post-data and should get same speed as yt-dlp.
I do not use curl, except in HN examples. I generally do not download from YouTube. I use the URLs in the JSON to watch the video.