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

youtube_dl.utils.DownloadError: ERROR: 2nli1Gc4Bzw: "token" parameter not in video info (2019.07.02 version)) #21637

Closed
moondra2017 opened this issue Jul 4, 2019 · 3 comments

Comments

@moondra2017
Copy link

@moondra2017 moondra2017 commented Jul 4, 2019

Checklist

  • [ x] I'm reporting a broken site support issue
  • [ x] I've verified that I'm running youtube-dl version 2019.07.02
  • [ 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 bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

-->

C:\Users\Moondra>youtube-dl -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.07.02
[debug] Python version 2.7.12 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-88514-gd5995c531d, ffprobe N-88514-gd5995c531d, phantomjs 2.1.
1
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]

Description

I am trying to run the code from the readme in Python:

from __future__ import unicode_literals
import youtube_dl

ydl_opts = {}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    ydl.download(['https://www.youtube.com/watch?v=BaW_jenozKc'])

and I am running into the following error:

ERROR: BaW_jenozKc: "token" parameter not in video info for unknown reason; 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\Moondra\AppData\Local\Programs\Python\Python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 760, in extract_info
    ie_result = ie.extract(url)
  File "C:\Users\Moondra\AppData\Local\Programs\Python\Python36\lib\site-packages\youtube_dl\extractor\common.py", line 429, in extract
    ie_result = self._real_extract(url)
  File "C:\Users\Moondra\AppData\Local\Programs\Python\Python36\lib\site-packages\youtube_dl\extractor\youtube.py", line 1392, in _real_extract
    video_id=video_id)
youtube_dl.utils.ExtractorError: BaW_jenozKc: "token" parameter not in video info for unknown reason; 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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:/Users/Moondra/Desktop/testing_youtube.py", line 6, in <module>
    ydl.download(['https://www.youtube.com/watch?v=BaW_jenozKc'])
  File "C:\Users\Moondra\AppData\Local\Programs\Python\Python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 1896, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "C:\Users\Moondra\AppData\Local\Programs\Python\Python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 783, in extract_info
    self.report_error(compat_str(e), e.format_traceback())
  File "C:\Users\Moondra\AppData\Local\Programs\Python\Python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 589, in report_error
    self.trouble(error_message, tb)
  File "C:\Users\Moondra\AppData\Local\Programs\Python\Python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 559, in trouble
    raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: BaW_jenozKc: "token" parameter not in video info for unknown reason; 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.
>>> 
@bitraid
Copy link
Contributor

@bitraid bitraid commented Jul 4, 2019

How/when did you download the source code?

@dstftw dstftw closed this Jul 4, 2019
@moondra2017
Copy link
Author

@moondra2017 moondra2017 commented Jul 4, 2019

I installed via PIP today.

@moondra2017
Copy link
Author

@moondra2017 moondra2017 commented Jul 4, 2019

Ah, sorry my mistake. It seems I updated wrong version of Python.

@ytdl-org ytdl-org locked and limited conversation to collaborators Jul 4, 2019
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.