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

TV4 Play not working #1649

Open
StreetCracker opened this issue Oct 19, 2024 · 2 comments
Open

TV4 Play not working #1649

StreetCracker opened this issue Oct 19, 2024 · 2 comments

Comments

@StreetCracker
Copy link

StreetCracker commented Oct 19, 2024

svtplay-dl versions:

Operating system and Python version:

Microsoft Windows [Version 10.0.19045.4842]

C:\svtplay-dl\svtplay-dl-amd64\svtplay-dl>svtplay-dl --version
svtplay-dl 4.97

What is the issue:

Has TV4 Play changed again ?

C:\svtplay-dl\svtplay-dl-amd64\svtplay-dl>svtplay-dl.exe --token "ey…" -u ***** -p ***** --no-postprocess --format-preferred hevc-51,hevc,h264-51,h264 --resolution 1080,720 -o "D:\Video\svtplay-dl\DLs - TV4 Play" --nfo -t -S -A --include-clips https://www.tv4play.se/program/f2811a3d5e1ec3c61956/mystery-road https://www.tv4play.se/program/e5bea08b41be07107cb8/mystery-road-origin
Traceback (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\Lib\site-packages\cx_Freeze\initscripts_startup_.py", line 141, in run
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\Lib\site-packages\cx_Freeze\initscripts\console.py", line 25, in run
File "bin\svtplay-dl", line 7, in
File "D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl_init_.py", line 71, in main
File "D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\utils\getmedia.py", line 39, in get_multiple_media
File "D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\utils\getmedia.py", line 61, in get_media
File "D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\utils\getmedia.py", line 79, in get_all_episodes
File "D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\service\tv4play.py", line 143, in find_all_episodes
KeyError: 'data'

C:\svtplay-dl\svtplay-dl-amd64\svtplay-dl>svtplay-dl.exe --token "ey…" -u ***** -p ***** --no-postprocess --format-preferred hevc-51,hevc,h264-51,h264 --resolution 1080,720 -o "D:\Video\svtplay-dl\DLs - TV4 Play" --nfo -t -S -A --include-clips -v https://www.tv4play.se/program/f2811a3d5e1ec3c61956/mystery-road https://www.tv4play.se/program/e5bea08b41be07107cb8/mystery-road-origin
DEBUG [1729333877.2346632] D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\utils\getmedia.py/get_media: version: Unknown
DEBUG [1729333877.2367077] D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\service_init_.py/init: service: tv4play
DEBUG [1729333877.2377102] D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\utils\http.py/request: HTTP getting 'https://avod-auth-alb.a2d.tv/oauth/refresh'
DEBUG [1729333877.2396638] C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection (1): avod-auth-alb.a2d.tv:443
DEBUG [1729333877.3731182] C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\urllib3\connectionpool.py/_make_request: https://avod-auth-alb.a2d.tv:443 "POST /oauth/refresh HTTP/11" 200 624
DEBUG [1729333877.3750582] D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\utils\http.py/request: HTTP getting 'https://www.tv4play.se/program/f2811a3d5e1ec3c61956/mystery-road'
DEBUG [1729333877.3760953] C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection (1): www.tv4play.se:443
DEBUG [1729333877.737236] C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\urllib3\connectionpool.py/_make_request: https://www.tv4play.se:443 "GET /program/f2811a3d5e1ec3c61956/mystery-road HTTP/11" 200 None
DEBUG [1729333877.7594926] D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\utils\http.py/request: HTTP getting 'https://client-gateway.tv4.a2d.tv/graphql'
DEBUG [1729333877.7612562] C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\urllib3\connectionpool.py/new_conn: Starting new HTTPS connection (1): client-gateway.tv4.a2d.tv:443
DEBUG [1729333877.9082687] C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\urllib3\connectionpool.py/make_request: https://client-gateway.tv4.a2d.tv:443 "POST /graphql HTTP/11" 403 77
Traceback (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\Lib\site-packages\cx_Freeze\initscripts_startup
.py", line 141, in run
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\Lib\site-packages\cx_Freeze\initscripts\console.py", line 25, in run
File "bin\svtplay-dl", line 7, in
File "D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl_init
.py", line 71, in main
File "D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\utils\getmedia.py", line 39, in get_multiple_media
File "D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\utils\getmedia.py", line 61, in get_media
File "D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\utils\getmedia.py", line 79, in get_all_episodes
File "D:\a\svtplay-dl\svtplay-dl\lib\svtplay_dl\service\tv4play.py", line 143, in find_all_episodes
KeyError: 'data'

@cobolbear
Copy link

cobolbear commented Oct 19, 2024

looks kind of simlar to what I experince in #1647 more programs are "DRM protected", basically they will not find the source for the video

@posktomten
Copy link

https://www.tv4play.se/program/f2811a3d5e1ec3c61956/mystery-road
"ERROR: No videos found. Use the video page not the series page."
Pleas use:
"https://www.tv4play.se/video/fcd1e079d389031306a7/avsnitt-1-gone"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants