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

error downloading youtube video #13114

Closed
0-wiz-0 opened this issue May 17, 2017 · 2 comments
Closed

error downloading youtube video #13114

0-wiz-0 opened this issue May 17, 2017 · 2 comments
Labels

Comments

@0-wiz-0
Copy link

@0-wiz-0 0-wiz-0 commented May 17, 2017

Using today's latest youtube-dl release (2017.05.14), I get an error downloading a particular youtube video:

# youtube-dl  -v http://www.youtube.com/watch?v=DYedXMq-R6I
[debug] System config: []
[debug] User config: ['-f', 'best']  
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=DYedXMq-R6I']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.05.14
[debug] Python version 3.6.1 - NetBSD-7.99.71-amd64-x86_64-64bit-ELF
[debug] exe versions: ffmpeg 2.8.11, ffmpeg2 2.8.11, ffmpeg3 3.3.1, ffprobe 2.8.11, ffprobe2 2.8.11, ffprobe3 3.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] DYedXMq-R6I: Downloading webpage
[youtube] DYedXMq-R6I: Downloading video info webpage
[youtube] DYedXMq-R6I: Extracting video information
[youtube] DYedXMq-R6I: Downloading MPD manifest
[youtube] DYedXMq-R6I: Downloading MPD manifest
[debug] Invoking downloader on 'https://r7---sn-4g57knz6.googlevideo.com/videoplayback?itag=22&ratebypass=yes&ipbits=0&initcwndbps=1622500&mime=video%2Fmp4&key=yt6&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&expire=1495030174&upn=l75A0KshPgM&mt=1495008505&lmt=1493795764417892&ip=213.47.11.167&pl=18&dur=622.550&mv=m&source=youtube&ms=au&ei=PgUcWdyOHs6gc_WFgNgO&mn=sn-4g57knz6&mm=31&id=o-AKTQO8_8wiYnJOPsfUB5cZGzbsfwpRkK9qCN1FN5tgL2&signature=A790A1ACD7E5472C5D6D38DB8D8051BA84507DC5.4D4FA1814DC334C25C7B4029B5481D24B0D95910&requiressl=yes'
[download] Got server HTTP error. Retrying (attempt 1 of 10)...
[download] Got server HTTP error. Retrying (attempt 2 of 10)...
[download] Got server HTTP error. Retrying (attempt 3 of 10)...
[download] Got server HTTP error. Retrying (attempt 4 of 10)...
[download] Got server HTTP error. Retrying (attempt 5 of 10)...
[download] Got server HTTP error. Retrying (attempt 6 of 10)...
[download] Got server HTTP error. Retrying (attempt 7 of 10)...
[download] Got server HTTP error. Retrying (attempt 8 of 10)...
[download] Got server HTTP error. Retrying (attempt 9 of 10)...
[download] Got server HTTP error. Retrying (attempt 10 of 10)...
ERROR: giving up after 10 retries
  File "/usr/pkg/bin/youtube-dl", line 11, in <module>
    load_entry_point('youtube-dl==2017.5.14', 'console_scripts', 'youtube-dl')()
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/__init__.py", line 465, in main
    _real_main(argv)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/__init__.py", line 455, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1896, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 771, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 825, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1539, in process_video_result
    self.process_info(new_info)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1803, in process_info
    success = dl(filename, info_dict)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1745, in dl
    return fd.download(name, info)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/downloader/common.py", line 360, in download
    return self.real_download(filename, info_dict)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/downloader/http.py", line 131, in real_download
    self.report_error('giving up after %s retries' % retries)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 589, in report_error
    self.trouble(error_message, tb)
  File "/usr/pkg/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 551, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Downloading another one still works:

# youtube-dl https://www.youtube.com/watch?v=87gWaABqGYs
[youtube] 87gWaABqGYs: Downloading webpage
[youtube] 87gWaABqGYs: Downloading video info webpage
[youtube] 87gWaABqGYs: Extracting video information
[download] Destination: Ed Sheeran - Galway Girl [Official Video]-87gWaABqGYs.mp4
[download] 100% of 40.21MiB in 00:35
@0-wiz-0 0-wiz-0 changed the title error downloading youtube video= error downloading youtube video May 17, 2017
@dstftw dstftw closed this May 17, 2017
@dstftw dstftw added the duplicate label May 17, 2017
@0-wiz-0
Copy link
Author

@0-wiz-0 0-wiz-0 commented May 17, 2017

@dstftw Thanks for looking at this. Duplicate of what, though? Can you refer an issue or commit? Thanks.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 17, 2017

Use search.

@ytdl-org ytdl-org locked and limited conversation to collaborators May 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.