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: no conn, hlsvp, hlsManifestUrl or url_encoded_fmt_stream_map information found in video info #23693

Closed
dbabbitt opened this issue Jan 10, 2020 · 2 comments

Comments

@dbabbitt
Copy link

@dbabbitt dbabbitt commented Jan 10, 2020

Checklist

  • [x ] I'm reporting a broken site support
  • [x ] I've verified that I'm running youtube-dl version 2020.01.01
  • [x ] I've checked that all provided URLs are alive and playable in a browser
  • [x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [x ] I've searched the bugtracker for similar issues including closed ones

Code to reproduce error

import youtube_dl
import os

downloads_folder = r'C:\Users\577342\Downloads'
youtube_url_list = ['https://www.youtube.com/watch?v=E2hRUXuEhgI']

ydl_opts = {
    'format': 'bestaudio/best',
    'nocheckcertificate': False,
    'outtmpl': os.path.join(downloads_folder, youtube_dl.DEFAULT_OUTTMPL),
    'postprocessors': [{'key': 'FFmpegExtractAudio',
                       'preferredcodec': 'mp3',
                       'preferredquality': '192'}],
    'verbose': True,
    }
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    for url in youtube_url_list:
        try:
            # It also downloads the videos
            res = ydl.extract_info(url,
                                   force_generic_extractor=ydl.params.get('force_generic_extractor',
                                                                          False))
        except Exception as e:
            print()
            print('####################################################')
            print(e)
            print('####################################################')
            print()

    print(ydl._download_retcode)
print('Conversion completed.')

Verbose output

[debug] Encodings: locale cp1252, fs utf-8, out UTF-8, pref cp1252
[debug] youtube-dl version 2019.08.13
[debug] Python version 3.6.8 (CPython) - Windows-10-10.0.18362-SP0
[debug] exe versions: avconv v13_dev0-1440-g34c1133, avprobe v13_dev0-1440-g34c1133, ffmpeg git-2020-01-08-5bd0010, ffprobe git-2020-01-08-5bd0010, phantomjs 2.1.1
[debug] Proxy map: {}
[youtube] E2hRUXuEhgI: Downloading webpage
[youtube] E2hRUXuEhgI: Downloading video info webpage
ERROR: no conn, hlsvp, hlsManifestUrl or url_encoded_fmt_stream_map information found in video info; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dev\Anaconda3\lib\site-packages\youtube_dl\YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "C:\Users\dev\Anaconda3\lib\site-packages\youtube_dl\extractor\common.py", line 530, in extract
ie_result = self._real_extract(url)
File "C:\Users\dev\Anaconda3\lib\site-packages\youtube_dl\extractor\youtube.py", line 2109, in _real_extract
if codecs:
youtube_dl.utils.ExtractorError: no conn, hlsvp, hlsManifestUrl or url_encoded_fmt_stream_map information found in video info; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

####################################################
ERROR: no conn, hlsvp, hlsManifestUrl or url_encoded_fmt_stream_map information found in video info; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
####################################################

0

Description

I normally run this code on a list of simple YouTube URLs which I extract from the Notifications list. They work just fine from the browser.

@dbabbitt
Copy link
Author

@dbabbitt dbabbitt commented Jan 10, 2020

This is not an outdated version. When I run youtube-dl --version I get 2020.01.01.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 10, 2020

From your log:

[debug] youtube-dl version 2019.08.13

@ytdl-org ytdl-org locked as resolved and limited conversation to collaborators Jan 10, 2020
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
3 participants
You can’t perform that action at this time.