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

Reddit: ERROR: unable to download video data #2936

Closed
7 tasks done
RingoTheDog opened this issue Mar 3, 2022 · 1 comment
Closed
7 tasks done

Reddit: ERROR: unable to download video data #2936

RingoTheDog opened this issue Mar 3, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@RingoTheDog
Copy link

Checklist

Region

Canada

Description

URL:
https://www.reddit.com/r/ukraine/comments/t5ug4p/the_entire_staff_of_the_russian_tv_channel_the/

fails with:
ERROR: unable to download video data: [Errno 2] No such file or directory:

Verbose log

>yt-dlp.py -v "https://www.reddit.com/r/ukraine/comments/t5ug4p/the_entire_staff_of_the_russian_tv_channel_the/"
[debug] Command-line config: ['-v', 'https://www.reddit.com/r/ukraine/comments/t5ug4p/the_entire_staff_of_the_russian_tv_channel_the/']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9ef] (zip)
[debug] Python version 3.6.6 (CPython 64bit) - Windows-10-10.0.14393-SP0
[debug] exe versions: ffmpeg 4.3.2-2021-02-02-full_build-www.gyan.dev, ffprobe 4.3.2-2021-02-02-full_build-www.gyan.dev, rtmpdump 2.4
[debug] Optional libraries: sqlite
[debug] Proxy map: {}
[debug] [Reddit] Extracting URL: https://www.reddit.com/r/ukraine/comments/t5ug4p/the_entire_staff_of_the_russian_tv_channel_the/
[Reddit] t5ug4p: Downloading JSON metadata
[Reddit] t5ug4p: Downloading m3u8 information
[Reddit] t5ug4p: Downloading MPD manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] cjg9ka7ov6l81: Downloading 1 format(s): hls-597+dash-audio_0_123274
[debug] Invoking downloader on "https://v.redd.it/cjg9ka7ov6l81/HLS_270.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 17
[download] Destination: The Entire staff of the Russian TV channel “the rain” resigned during a live stream with last words - “no war” and then played “swan lake” ballet video (just like they did on all USSR tv channels when it suddenly collapsed) [cjg9ka7ov6l81].fhls-597.mp4
ERROR: unable to download video data: [Errno 2] No such file or directory: 'The Entire staff of the Russian TV channel “the rain” resigned during a live stream with last words - “no war” and then played “swan lake” ballet video (just like they did on all USSR tv channels when it suddenly collapsed) [cjg9ka7ov6l81].fhls-597.mp4.ytdl'
Traceback (most recent call last):
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\YoutubeDL.py", line 3068, in process_info
    partial_success, real_download = self.dl(fname, new_info)
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\YoutubeDL.py", line 2801, in dl
    return fd.download(name, new_info, subtitle)
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\downloader\common.py", line 440, in download
    ret = self.real_download(filename, info_dict)
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\downloader\hls.py", line 145, in real_download
    self._prepare_and_start_frag_download(ctx, info_dict)
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\downloader\fragment.py", line 90, in _prepare_and_start_frag_download
    self._prepare_frag_download(ctx)
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\downloader\fragment.py", line 215, in _prepare_frag_download
    self._write_ytdl_file(ctx)
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\downloader\fragment.py", line 110, in _write_ytdl_file
    frag_index_stream, _ = self.sanitize_open(self.ytdl_filename(ctx['filename']), 'w')
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\downloader\common.py", line 218, in sanitize_open
    return sanitize_open(filename, open_mode)
  File "C:\Transmogrifier\yt-dlp.py\yt_dlp\utils.py", line 668, in sanitize_open
    stream = open(encodeFilename(filename), open_mode)
FileNotFoundError: [Errno 2] No such file or directory: 'The Entire staff of the Russian TV channel “the rain” resigned during a live stream with last words - “no war” and then played “swan lake” ballet video (just like they did on all USSR tv channels when it suddenly collapsed) [cjg9ka7ov6l81].fhls-597.mp4.ytdl'
@RingoTheDog RingoTheDog added site-bug Issue with a specific website triage Untriaged issue labels Mar 3, 2022
@pukkandan
Copy link
Member

Duplicate of #1136

@pukkandan pukkandan marked this as a duplicate of #1136 Mar 4, 2022
@pukkandan pukkandan added duplicate This issue or pull request already exists and removed site-bug Issue with a specific website triage Untriaged issue labels Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants