"token" parameter not in video info for unknown reason

Bug #1831778 reported by jedahan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
youtube-dl (Ubuntu)
Fix Released
High
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Disco
Fix Released
Undecided
Unassigned

Bug Description

* Impact
The script stopped working due to changes on the website

* Test case
$ youtube-dl https://www.youtube.com/watch?v=uTxFcSMK_Jg

-> it should download the video

* Regression potential
The script was not working at all so it shouldn't create new problem, just check it downloads videos without error

------------------------

I am not able to download any videos from youtube on 18.04. This is the error I have.

 ▲ ~ youtube-dl --version
2018.03.14

 △ ~ youtube-dl 'https://youtube.com/watch?v=Gd_ySi7mjeE' --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://m.youtube.com/watch?v=Gd_ySi7mjeE', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.03.14
[debug] Python version 3.6.7 (CPython) - Linux-4.15.0-50-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6-0ubuntu0.18.04.1, ffprobe 3.4.6-0ubuntu0.18.04.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Gd_ySi7mjeE: Downloading webpage
[youtube] Gd_ySi7mjeE: Downloading video info webpage
ERROR: Gd_ySi7mjeE: "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 "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 785, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 440, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1624, in _real_extract
    video_id=video_id)
youtube_dl.utils.ExtractorError: Gd_ySi7mjeE: "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.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, it was fixed in that version
https://launchpad.net/ubuntu/+source/youtube-dl/2019.01.17-1

The fix is going to be SRUed to disco and bionic

Changed in youtube-dl (Ubuntu):
importance: Undecided → High
status: New → Fix Released
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello jedahan, or anyone else affected,

Accepted youtube-dl into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/youtube-dl/2019.01.17-1.1~ubuntu19.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in youtube-dl (Ubuntu Disco):
status: New → Fix Committed
tags: added: verification-needed verification-needed-disco
Changed in youtube-dl (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello jedahan, or anyone else affected,

Accepted youtube-dl into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/youtube-dl/2018.03.14-1ubuntu18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

disco:
youtube-dl http://www.youtube.com/watch?v=uTxFcSMK_Jg
[youtube] uTxFcSMK_Jg: Downloading webpage
[youtube] uTxFcSMK_Jg: Downloading video info webpage
ERROR: uTxFcSMK_Jg: "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.

apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done

The following packages will be upgraded:
  youtube-dl
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 976 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu disco-proposed/universe amd64 youtube-dl all 2019.01.17-1.1~ubuntu19.04.1 [976 kB]
youtube-dl http://www.youtube.com/watch?v=uTxFcSMK_Jg
[youtube] uTxFcSMK_Jg: Downloading webpage
[youtube] uTxFcSMK_Jg: Downloading video info webpage
WARNING: unable to extract channel id; 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.
[download] Destination: Ubuntu 19.04 Disco Dingo Review - GNOME 3.32, Desktop icons, and more-uTxFcSMK_Jg.mp4
[download] 100% of 30.29MiB in 00:02

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

bionic:
youtube-dl https://www.youtube.com/watch?v=uTxFcSMK_Jg
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[youtube] uTxFcSMK_Jg: Downloading webpage
[youtube] uTxFcSMK_Jg: Downloading video info webpage
ERROR: uTxFcSMK_Jg: "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.

apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  youtube-dl
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 931 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 youtube-dl all 2018.03.14-1ubuntu18.04.1 [931 kB]
Fetched 931 kB in 0s (2772 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 11171 files and directories currently installed.)
Preparing to unpack .../youtube-dl_2018.03.14-1ubuntu18.04.1_all.deb ...
Unpacking youtube-dl (2018.03.14-1ubuntu18.04.1) over (2018.03.14-1) ...
Setting up youtube-dl (2018.03.14-1ubuntu18.04.1) ...
youtube-dl https://www.youtube.com/watch?v=uTxFcSMK_Jg
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[youtube] uTxFcSMK_Jg: Downloading webpage
[youtube] uTxFcSMK_Jg: Downloading video info webpage
[youtube] uTxFcSMK_Jg: Extracting video information
[download] Destination: Ubuntu_19.04_Disco_Dingo_Review_-_GNOME_3.32_Desktop_icons_and_more-uTxFcSMK_Jg.mp4
[download] 100% of 30.29MiB in 00:07

tags: added: verification-done
removed: verification-needed
tags: added: verification-done-bionic verification-done-disco
removed: verification-done verification-needed-bionic verification-needed-disco
tags: added: verification-done
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package youtube-dl - 2019.01.17-1.1~ubuntu19.04.1

---------------
youtube-dl (2019.01.17-1.1~ubuntu19.04.1) disco; urgency=medium

  * Upload the Debian SRU to adapt to youtube website changes to disco,
    (lp: #1831778)

  [ Salvatore Bonaccorso ]
  * Fix extraction from youtube. (Closes: #927862)

 -- Sebastien Bacher <email address hidden> Thu, 27 Jun 2019 13:08:49 +0200

Changed in youtube-dl (Ubuntu Disco):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for youtube-dl has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package youtube-dl - 2018.03.14-1ubuntu18.04.1

---------------
youtube-dl (2018.03.14-1ubuntu18.04.1) bionic; urgency=medium

  * debian/patches/youtube-Fix-extraction.patch:
    - backport upstream patch to adapt to the website changes
      (lp: #1831778)

 -- Sebastien Bacher <email address hidden> Thu, 27 Jun 2019 15:37:07 +0200

Changed in youtube-dl (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.