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

Protocol not found - correct URL this time #16843

Closed
ontera opened this issue Jun 28, 2018 · 2 comments
Closed

Protocol not found - correct URL this time #16843

ontera opened this issue Jun 28, 2018 · 2 comments
Labels

Comments

@ontera
Copy link

@ontera ontera commented Jun 28, 2018

  • [ X] I've verified and I assure that I'm running youtube-dl 2018.06.25

I have:

  • [ X] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [ X] Searched the bugtracker for similar issues including closed ones
  • [ X] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • [ X] Bug report (encountered problems with youtube-dl)

Previous bug report URL had a copy/paste error that wouldn't load in browser. My bad. This is legit.


 youtube-dl -v 'https://www.youtube.com/watch?v=1uLTspBEtRE'
[debug] System config: []
[debug] User config: [u'-i', u'-f', u'best', u'-o', u'%(title)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=1uLTspBEtRE']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.25
[debug] Python version 2.7.15 (CPython) - Darwin-17.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.3, avprobe 12.3, ffmpeg 4.0.1, ffprobe 4.0.1
[debug] Proxy map: {}
[youtube] 1uLTspBEtRE: Downloading webpage
[youtube] 1uLTspBEtRE: Downloading video info webpage
[youtube] 1uLTspBEtRE: Downloading m3u8 information
[youtube] 1uLTspBEtRE: Downloading MPD manifest
[youtube] 1uLTspBEtRE: Downloading MPD manifest
[debug] Invoking downloader on u'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/1uLTspBEtRE.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r4---sn-a5meknlz.googlevideo.com/playlist_type/CLEAN/gcr/us/force_finished/1/ei/ZVQ0W_S-IImJ-gO4-5HwAw/initcwndbps/11090/mm/32/mn/sn-a5meknlz/ms/lv/mv/m/pl/15/dover/10/fexp/23709359/keepalive/yes/mt/1530156072/disable_polymer/true/ip/76.95.209.173/ipbits/0/expire/1530177733/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,force_finished,ei,initcwndbps,mm,mn,ms,mv,pl/signature/92EF52DC71BE6190594B600081B2F246A5FB39A9.2CBA509D283B23B4782180DF7C1E08523B4269F6/key/dg_yt0/playlist/index.m3u8'
[download] Destination: Matt Godbolt - Why C++ Isn’t Dead.mp4
[debug] avconv command line: avconv -y -loglevel verbose -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language: en-us,en;q=0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 (Chrome)
' -i 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/1uLTspBEtRE.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r4---sn-a5meknlz.googlevideo.com/playlist_type/CLEAN/gcr/us/force_finished/1/ei/ZVQ0W_S-IImJ-gO4-5HwAw/initcwndbps/11090/mm/32/mn/sn-a5meknlz/ms/lv/mv/m/pl/15/dover/10/fexp/23709359/keepalive/yes/mt/1530156072/disable_polymer/true/ip/76.95.209.173/ipbits/0/expire/1530177733/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,force_finished,ei,initcwndbps,mm,mn,ms,mv,pl/signature/92EF52DC71BE6190594B600081B2F246A5FB39A9.2CBA509D283B23B4782180DF7C1E08523B4269F6/key/dg_yt0/playlist/index.m3u8' -c copy -f mp4 'file:Matt Godbolt - Why C++ Isn’t Dead.mp4.part'
avconv version 12.3, Copyright (c) 2000-2018 the Libav developers
  built on Feb 13 2018 11:17:07 with Apple LLVM version 9.0.0 (clang-900.0.39.2)
  configuration: --disable-debug --disable-shared --disable-indev=jack --prefix=/usr/local/Cellar/libav/12.3 --enable-gpl --enable-nonfree --enable-version3 --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
  libavutil     55. 20. 0 / 55. 20. 0
  libavcodec    57. 25. 0 / 57. 25. 0
  libavformat   57.  7. 2 / 57.  7. 2
  libavdevice   56.  1. 0 / 56.  1. 0
  libavfilter    6.  7. 0 /  6.  7. 0
  libavresample  3.  0. 0 /  3.  0. 0
  libswscale     4.  0. 0 /  4.  0. 0
https://manifest.googlevideo.com/api/manifest/hls_playlist/id/1uLTspBEtRE.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r4---sn-a5meknlz.googlevideo.com/playlist_type/CLEAN/gcr/us/force_finished/1/ei/ZVQ0W_S-IImJ-gO4-5HwAw/initcwndbps/11090/mm/32/mn/sn-a5meknlz/ms/lv/mv/m/pl/15/dover/10/fexp/23709359/keepalive/yes/mt/1530156072/disable_polymer/true/ip/76.95.209.173/ipbits/0/expire/1530177733/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,force_finished,ei,initcwndbps,mm,mn,ms,mv,pl/signature/92EF52DC71BE6190594B600081B2F246A5FB39A9.2CBA509D283B23B4782180DF7C1E08523B4269F6/key/dg_yt0/playlist/index.m3u8: Protocol not found


ERROR: ffmpeg exited with code 1
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 472, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 462, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 803, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 857, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1635, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1908, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1847, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 64, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 620, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 582, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


URL loads in browser, video plays, but youtube-dl errors out.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 28, 2018

Your avconv is built without https supports. Either fix or use ffmpeg.

@dstftw dstftw closed this Jun 28, 2018
@dstftw dstftw added the invalid label Jun 28, 2018
@ontera
Copy link
Author

@ontera ontera commented Jul 1, 2018

Thanks. I thought I was using ffmpeg. Appreciate the quick reply Sergei!

Also, the problem appears to have corrected itself (same URL works fine now, thanks Google/YouTube), so I'm not 100% sure that was the root cause.

Appreciate all that you do, youtube-dl is great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.