yt-dlp icon indicating copy to clipboard operation
yt-dlp copied to clipboard

Can't download videos from vod.tvp.pl, e.g.: https://vod.tvp.pl/live,1/tvp-1,399697

Open Mexit opened this issue 6 months ago • 5 comments

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • [X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

Poland

Provide a description that is worded well enough to be understood

Can't download videos from vod.tvp.pl, e.g.: https://vod.tvp.pl/live,1/tvp-1,399697 In the browser they play correctly. Test on two different operating systems, nightly and stable version yt-dlp

Provide verbose output that clearly demonstrates the problem

  • [X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • [ ] If using API, add 'verbose': True to YoutubeDL params instead
  • [X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['--cookies-from-browser', 'firefox', 'https://vod.tvp.pl/live,1/tvp-2,399698', '-vU']
Extracting cookies from firefox
[debug] Extracting cookies from: "/home/manjaro/.mozilla/firefox/lmx686bz.default-release/cookies.sqlite"
Extracted 24 cookies from firefox
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [24f827875]
[debug] Python 3.11.6 (CPython x86_64 64bit) - Linux-6.6.7-1-MANJARO-x86_64-with-glibc2.38 (OpenSSL 3.1.4 24 Oct 2023, glibc 2.38)
[debug] exe versions: rtmpdump 2.4
[debug] Optional libraries: certifi-2023.11.17, requests-2.31.0, secretstorage-3.3.3, sqlite3-3.44.2, urllib3-1.26.18
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1901 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp)
[tvp:vod] Extracting URL: https://vod.tvp.pl/live,1/tvp-2,399698
[tvp:vod] 399698: Downloading JSON metadata
ERROR: [tvp:vod] 399698: Woronicza said: ITEM_NOT_AVAILABLE (HTTP 404); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 715, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/tvp.py", line 568, in _real_extract
    info_dict = self._parse_video(self._call_api(f'vods/{video_id}', video_id), with_url=False)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/tvp.py", line 493, in _call_api
    raise ExtractorError(f'Woronicza said: {document.get("code")} (HTTP {urlh.status})')

Mexit avatar Dec 21 '23 16:12 Mexit