Opened 6 years ago

Closed 6 years ago

#58391 closed defect (fixed)

youtube-dl: Unable to download from youtube. token error

Reported by: jpmelko Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: youtube-dl

Description

this has been corrected on https://yt-dl.org https://github.com/ytdl-org/youtube-dl/pull/20770

titi@Bacchus: Downloads $ youtube-dl --verbose 'https://www.youtube.com/watch?v=HsD-hL42F3Y'
[debug] System config: []
[debug] User config: ['--format', 'best/best', '--output', '%(playlist_index)s-%(title)s-%(id)s-%(format_id)s-%(width)sx%(height)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=HsD-hL42F3Y']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 3.7.3 (CPython) - Darwin-18.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] HsD-hL42F3Y: Downloading webpage
[youtube] HsD-hL42F3Y: Downloading video info webpage
ERROR: HsD-hL42F3Y: "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; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/opt/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/opt/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1693, in _real_extract
    video_id=video_id)
youtube_dl.utils.ExtractorError: HsD-hL42F3Y: "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; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


Change History (2)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Owner: set to ryandesign
Port: youtube-dl added
Status: newassigned
Summary: Unable to download from youtube. token erroryoutube-dl: Unable to download from youtube. token error

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In afa71fdbfb245dea84edbdc46fd3688d16a44a4b/macports-ports (master):

youtube-dl: Update to 2019.04.24

Closes: #58391

Note: See TracTickets for help on using tickets.