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

It cannot be downloaded from www.iprima.cz. I have a paid tariff PREMIUM Prima+

Open Pavot2010 opened this issue 3 years ago • 16 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

  • [X] I'm reporting a new site support request
  • [X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
  • [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
  • [X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
  • [X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
  • [X] I've read the guidelines for opening an issue
  • [x] I've read about sharing account credentials and am willing to share it if required

Region

Czech Republic

Example URLs

https://www.iprima.cz/serialy/zakony-vlka/zakony-vlka/1-skodna-v-reviru https://www.iprima.cz/serialy/sedm-schodu-k-moci/cesta-k-moci-verze-2022/2-epizoda-2

Provide a description that is worded well enough to be understood

It cannot be downloaded from www.iprima.cz

ERROR: [IPrima] 1-skodna-v-reviru: Access to stream infos forbidden File "yt_dlp\extractor\common.py", line 694, in extract File "yt_dlp\extractor\iprima.py", line 150, in _real_extract File "yt_dlp\extractor\iprima.py", line 120, in _raise_access_error File "yt_dlp\extractor\common.py", line 1172, in raise_no_formats

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

C:\yt>yt-dlp -vU --netrc https://www.iprima.cz/serialy/zakony-vlka/zakony-vlka/1-skodna-v-reviru
[debug] Command-line config: ['-vU', '--netrc', 'https://www.iprima.cz/serialy/zakony-vlka/zakony-vlka/1-skodna-v-reviru']
[debug] Encodings: locale cp1250, fs utf-8, pref cp1250, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] [e389d172b] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1788 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version: [email protected], Current version: [email protected]
Current Build Hash: 9815b3ef69ae5b0e06ec9266b8759c6a45b34cdb082d2fdfc82a3fd510fd9da7
yt-dlp is up to date ([email protected])
[IPrima] Downloading login page
[IPrima] Logging in
[IPrima] Selecting profile
[IPrima] Downloading token
[IPrima] Extracting URL: https://www.iprima.cz/serialy/zakony-vlka/zakony-vlka/1-skodna-v-reviru
[IPrima] 1-skodna-v-reviru: Downloading webpage
[IPrima] p1098253: Getting manifest URLs
ERROR: [IPrima] 1-skodna-v-reviru: Access to stream infos forbidden
  File "yt_dlp\extractor\common.py", line 694, in extract
  File "yt_dlp\extractor\iprima.py", line 150, in _real_extract
  File "yt_dlp\extractor\iprima.py", line 120, in _raise_access_error
  File "yt_dlp\extractor\common.py", line 1172, in raise_no_formats

Pavot2010 avatar Mar 12 '23 16:03 Pavot2010

The account-needed label is just a hint for maintainers and any potential contributors that account is needed to work on the issue; and is not asking you to give account to the maintainer who added the label. If someone is interested in working on this and needs account details for that, they will let you know how to share it privately.

pukkandan avatar Mar 12 '23 17:03 pukkandan

I have tried to download same address and the error is a bit different: $ yt-dlp -vU --username myemailhere --password mypassword https://www.iprima.cz/serialy/zakony-vlka/zakony-vlka/1-skodna-v-reviru

[debug] Command-line config: ['-vU', '--username', 'PRIVATE', '--password', 'PRIVATE', 'https://www.iprima.cz/serialy/zakony-vlka/zakony-vlka/1-skodna-v-reviru']
[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] [1a7dcca37] (zip)
[debug] Python 3.9.2 (CPython x86_64 64bit) - Linux-5.10.0-23-amd64-x86_64-with-glibc2.31 (OpenSSL 1.1.1n  15 Mar 2022, glibc 2.31)
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0
[debug] Optional libraries: Cryptodome-3.9.7, certifi-2020.12.05, pyxattr-0.7.2, secretstorage-3.3.1, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1840 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version: [email protected], Current version: [email protected]
Current Build Hash: 1a0590ee87e69bebf3ad9e4fc4deddec70649278c03ff3d362cfb902bbc9db7a
yt-dlp is up to date ([email protected])
[IPrima] Downloading login page
[IPrima] Logging in
[IPrima] Downloading token
[IPrima] Extracting URL: https://www.iprima.cz/serialy/zakony-vlka/zakony-vlka/1-skodna-v-reviru
[IPrima] 1-skodna-v-reviru: Downloading webpage
ERROR: [IPrima] 1-skodna-v-reviru: Unable to extract __NUXT__; 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/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 703, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/iprima.py", line 137, in _real_extract
    nuxt_data = self._search_nuxt_data(webpage, video_id, traverse='data')
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 1676, in _search_nuxt_data
    js, arg_keys, arg_vals = self._search_regex(
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 1251, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)

I am having free account at iprima.

slrslr avatar Jun 02 '23 20:06 slrslr

Hello I would like to confirm that this is the issue of paid vs free account.

Free works.

Paid fails:

yt-dlp.exe -vU -u login -p password https://www.iprima.cz/serialy/zakony-vlka/zakony-vlka/2-prilis-krehka-pravda --output "1-2. Prilis krehka pravda.mp4" [debug] Command-line config: ['-vU', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.iprima.cz/serialy/zakony-vlka/zakony-vlka/2-prilis-krehka-pravda', '--output', '1-2. Prilis krehka pravda.mp4'] [debug] Encodings: locale cp1250, fs utf-8, pref cp1250, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version [email protected] [377e85a17] (win_exe) [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: ffmpeg 2023-08-23-git-5f5a1ccd04-full_build-www.gyan.dev (setts), ffprobe 2023-08-23-git-5f5a1ccd04-full_build-www.gyan.dev [debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, sqlite3-3.35.5, websockets-11.0.3 [debug] Proxy map: {} [debug] Loaded 1886 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest Available version: [email protected], Current version: [email protected] Current Build Hash: 0bf0154602da2dad4684719096b8f1498f1a53b8e409ad053127e31f0f902e48 yt-dlp is up to date ([email protected]) [IPrima] Downloading login page [IPrima] Logging in [IPrima] Downloading token [IPrima] Extracting URL: https://www.iprima.cz/serialy/zakony-vlka/zakony-vlka/2-prilis-krehka-pravda [IPrima] 2-prilis-krehka-pravda: Downloading webpage [IPrima] p1141074: Getting manifest URLs ERROR: [IPrima] 2-prilis-krehka-pravda: Access to stream infos forbidden File "yt_dlp\extractor\common.py", line 715, in extract File "yt_dlp\extractor\iprima.py", line 157, in _real_extract File "yt_dlp\extractor\iprima.py", line 120, in _raise_access_error File "yt_dlp\extractor\common.py", line 1193, in raise_no_formats

sourekv avatar Oct 07 '23 10:10 sourekv

@sourekv if a developer requested it, would you be willing to share your account credentials? Please don't post your credentials on Github, by the way

gamer191 avatar Oct 09 '23 14:10 gamer191

@sourekv if a developer requested it, would you be willing to share your account credentials? Please don't post your credentials on Github, by the way

Yes, sure.

sourekv avatar Oct 09 '23 14:10 sourekv

Is there any progress on this?

pkejval avatar Oct 31 '23 09:10 pkejval

@gamer191 Is there still possibility that you will use my credentials to investigate issue? I consider not to extend my premium account.

sourekv avatar Nov 06 '23 09:11 sourekv

@mkubecek implemented a workaround for this years ago. No idea if it still works. His fix can be found here. I will hopefully look into this a bit more before Christmas.

stanoarn avatar Nov 29 '23 21:11 stanoarn

I am not sure this is the same issue but free acount is not working as well.


yt-dlp.exe -vU -u user -p password https://www.iprima.cz/serialy/na-jezere/top-of-the-lake-s1/1-epizoda-1  --output "epizoda-1.mp4"
[debug] Command-line config: ['-vU', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.iprima.cz/serialy/na-jezere/top-of-the-lake-s1/1-epizoda-1', '--output', 'epizoda-1.mp4']
[debug] Encodings: locale cp1250, fs utf-8, pref cp1250, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp-nightly-builds [95e82347b] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 4.2.3, ffprobe 2023-10-09-git-37b5f4a1f6-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.19.1, brotli-1.1.0, certifi-2023.11.17, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.1.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1798 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp-nightly-builds)
[IPrima] Downloading login page
[IPrima] Logging in
[IPrima] Downloading token
[IPrima] Extracting URL: https://www.iprima.cz/serialy/na-jezere/top-of-the-lake-s1/1-epizoda-1
[IPrima] 1-epizoda-1: Downloading webpage
[IPrima] p1237764: Getting manifest URLs
ERROR: [IPrima] 1-epizoda-1: Access to stream infos forbidden
  File "yt_dlp\extractor\common.py", line 718, in extract
  File "yt_dlp\extractor\iprima.py", line 157, in _real_extract
  File "yt_dlp\extractor\iprima.py", line 120, in _raise_access_error
  File "yt_dlp\extractor\common.py", line 1196, in raise_no_formats

sourekv avatar Jan 13 '24 22:01 sourekv

@sourekv No, it is not the same issue, please see https://github.com/yt-dlp/yt-dlp/issues/6187#issuecomment-1464889925

This error is expected with free accounts.

std-move avatar Jan 14 '24 10:01 std-move

Thank you for the explanation. It was still working a few days ago. I mean free accounts.

sourekv avatar Jan 14 '24 10:01 sourekv

Log for premium acccount

yt-dlp.exe -vU -u user -p password https://www.iprima.cz/serialy/na-jezere/top-of-the-lake-s1/1-epizoda-1  --output "epizoda-1.mp4"
[debug] Command-line config: ['-vU', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.iprima.cz/serialy/na-jezere/top-of-the-lake-s1/1-epizoda-1', '--output', 'epizoda-1.mp4']
[debug] Encodings: locale cp1250, fs utf-8, pref cp1250, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp-nightly-builds [95e82347b] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 4.2.3, ffprobe 2023-10-09-git-37b5f4a1f6-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.19.1, brotli-1.1.0, certifi-2023.11.17, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.1.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1798 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp-nightly-builds)
[IPrima] Downloading login page
[IPrima] Logging in
[IPrima] Downloading token
[IPrima] Extracting URL: https://www.iprima.cz/serialy/na-jezere/top-of-the-lake-s1/1-epizoda-1
[IPrima] 1-epizoda-1: Downloading webpage
[IPrima] p1237764: Getting manifest URLs
ERROR: [IPrima] 1-epizoda-1: Access to stream infos forbidden
  File "yt_dlp\extractor\common.py", line 718, in extract
  File "yt_dlp\extractor\iprima.py", line 157, in _real_extract
  File "yt_dlp\extractor\iprima.py", line 120, in _raise_access_error
  File "yt_dlp\extractor\common.py", line 1196, in raise_no_formats

sourekv avatar Jan 14 '24 10:01 sourekv

That error could probably be addressed by the patch above https://github.com/yt-dlp/yt-dlp/issues/6524?#issuecomment-1832728025 (by importing header X-OTT-Device)

std-move avatar Jan 14 '24 10:01 std-move

Thank you. Unfortunately that is above my abilities.

sourekv avatar Jan 14 '24 20:01 sourekv

For the record, I no longer work on this problem as I stopped paying for the subscription. (When I learned that after the "Prima Plus" redesign, I would have to pay about three times as much as before, I decided that 1080p Prima is not worth that much for me.) If someone wants to take over, the latest state of the patch can be found in branch https://github.com/mkubecek/yt-dlp/tree/mk/primaplus in my clone of the repository but I cannot even test it any more.

mkubecek avatar Jan 14 '24 21:01 mkubecek

@mkubecek is there a chance to make you fix this? Eg. one year voucher for free? Thanks

sourekv avatar Feb 04 '24 14:02 sourekv