Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot download this video from Youtube #26059

Closed
3 tasks done
cr7mmsa opened this issue Jul 19, 2020 · 12 comments
Closed
3 tasks done

Cannot download this video from Youtube #26059

cr7mmsa opened this issue Jul 19, 2020 · 12 comments

Comments

@cr7mmsa
Copy link

cr7mmsa commented Jul 19, 2020

Checklist

  • I'm reporting a site feature request
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • I've searched the bugtracker for similar site feature requests including closed ones

Description

WRITE DESCRIPTION HERE
I cannot download this youtube video from youtube: https://youtu.be/2N3dhl7ZVtw
Verbose:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://youtu.be/2N3dhl7ZVtw']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] 2N3dhl7ZVtw: Downloading webpage
[youtube] 2N3dhl7ZVtw: Downloading MPD manifest
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://r6---sn-h0jeen76.googlevideo.com/videoplayback?expire=1595178546&ei=0ikUX_bKF8ap1gLWxqVI&ip=85.204.8.135&id=o-AJTPegs2acqHq3vuiWWr2BYbURxvI-DmsBuI3sZxGKR0&itag=22&source=youtube&requiressl=yes&mh=c1&mm=31%2C29&mn=sn-h0jeen76%2Csn-h0jeln7l&ms=au%2Crdu&mv=m&mvi=6&pl=21&initcwndbps=1743750&vprv=1&mime=video%2Fmp4&ratebypass=yes&dur=14821.297&lmt=1580305469517601&mt=1595156813&fvip=1&fexp=23883097&c=WEB&txp=2211222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAK9oVzmMIl12tBmhCPT2UsqaBS_SUk8jUkR6O6JTWBX3AiEAx3lEbq7XlncJeOe6s5wqTVzQysYnqFRXmSHR9kpwhR0%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhALaWmQYPtWS8EoEhZLFSUqX0Ue1jIcKbcEvN5Dp7oLG8AiAF_j6rVRqBTJN9vEu33UHehENAprQUZ1u3k3sw35xpNQ%3D%3D'
[download] Destination: 12th Lecture Kaplan Step 3 CA Surgery Hill August 8, 2014-2N3dhl7ZVtw.mp4
[download] 0.7% of 789.99MiB at 523.05KiB/s ETA 25:36 [download] Got server HTTP error: Downloaded 5575041 bytes, expected 828367257 bytes. Retrying (attempt 1 of 10)...

ERROR: Did not get any data blocks
File "main.py", line 19, in
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl_init_.py", line 474, in main
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl_init_.py", line 464, in _real_main
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 2019, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 808, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 863, in process_ie_result
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 1644, in process_video_result
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 1926, in process_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 1865, in dl
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\downloader\common.py", line 366, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\downloader\http.py", line 342, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\downloader\http.py", line 312, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\downloader\common.py", line 165, in report_error
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 625, in report_error
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 587, in trouble

@Ruffythemonkey
Copy link

Ruffythemonkey commented Jul 19, 2020

Hey dear developers, check this out: u5NuRpXqhGQ
YTDl response: YouTube said: Unable to extract video data

EDIT:
Found the error is from 18 sry guys ^^

@cr7mmsa
Copy link
Author

cr7mmsa commented Jul 19, 2020

So what is the problem?

@bersbersbers
Copy link

bersbersbers commented Jul 19, 2020

  • @Ruffythemonkey's u5NuRpXqhGQ is age-restricted, need to use (e.g.) the cookie method to sign in to download
  • @cr7mmsa's 2N3dhl7ZVtw downloads beyond 1.2% for me, I see no problem.

@cr7mmsa
Copy link
Author

cr7mmsa commented Jul 19, 2020

@bersbersbers It download few percents then it stops see the verbose

@bersbersbers
Copy link

@cr7mmsa I have seen that. Yours stops at 0.7%, mine continues further. So I don't see the same problem as you do. If yours stops at varying percentages, you should indicate that.

@cr7mmsa
Copy link
Author

cr7mmsa commented Jul 19, 2020

@bersbersbers AAA I understand now, so what is the problem you think sir?

@bersbersbers
Copy link

bersbersbers commented Jul 20, 2020

@cr7mmsa your output shows "Default format spec: best/bestvideo+bestaudio", which is unusual - it shows "bestvideo+bestaudio/best" for me.

I can reproduce your problem with
youtube-dl -v https://youtu.be/2N3dhl7ZVtw -f best
Indeed, it breaks at 0.7%. Seems like a duplicate of #17148

You might try
youtube-dl -v https://youtu.be/2N3dhl7ZVtw -f webm
or
youtube-dl -v https://youtu.be/2N3dhl7ZVtw -f bestvideo+bestaudio
in the meantime. The latter is working for me.

@cr7mmsa
Copy link
Author

cr7mmsa commented Jul 20, 2020

@bersbersbers yes it works when i put -f webm, can you explain to me why?

@cr7mmsa
Copy link
Author

cr7mmsa commented Jul 20, 2020

@bersbersbers as i know that youtube-dl will choose the best format

@bersbersbers
Copy link

bersbersbers commented Jul 20, 2020

@cr7mmsa in short, the content is missing on YouTube. Read #17148 and, if interested, on the meaning of -f (https://github.com/ytdl-org/youtube-dl#format-selection) and the difference between bestvideo+bestaudio and best (#5456, #5447). Also note that for some reason, your installation does not used the default format setting (bestvideo+bestaudio/best), but best/bestvideo+bestaudio.

@cr7mmsa
Copy link
Author

cr7mmsa commented Jul 20, 2020

@bersbersbers thank you sir, just one last question. I used bestvideo+bestaudio/best option, it downloads perfectly but i have one problem, that youtube-dl doesn't use my highest download speed, it's low speed why? and do you know how i can fix that?

@bersbersbers
Copy link

youtube-dl doesn't use my highest download speed, it's low speed why? and do you know how i can fix that?

Sorry, don't know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants