spaam / svtplay-dl

Small command-line program to download videos from some streaming sites.
https://svtplay-dl.se
MIT License
716 stars 119 forks source link

TV4 Play not working #1649

Open StreetCracker opened 22 hours ago

StreetCracker commented 22 hours ago

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 commented 15 hours ago

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

posktomten commented 11 hours ago

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"