spaam / svtplay-dl

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

DPLAY premium not working. #1192

Open jaarsa opened 4 years ago

jaarsa commented 4 years ago

I am trying to run the following command: svtplay-dl.exe -u USERNAME -p PASSWORD -S -P HLS https://www.dplay.no/videos/jul-i-blodfjell/sesong-1-episode-1 And I keep getting "ERROR: No videos found. You dont have permission to watch this" on all premium shows I want to see. On the web, I can watch all premium series and shows, but with svtplay-dl I can only download whats free.

Does anyone know what I do wrong, or isn't it implemented yet?

Running latest version of svtplay-dl for windows.

Sopor commented 4 years ago

When you write that you are using the latest svtplay-dl you can use the latest released or the latest master. It is impossible to guess and that is the reason there is a template to follow.

Sopor commented 4 years ago

svtplay-dl versions:

Run svtplay-dl --version

FFmpeg version:

Run ffmpeg -version

Operating system:

Name and version of the operating system

Python version (not needed if you are running Windows)

Run python --version

What is the issue:

Always include the URL you want to download and all switches you are using. You should also add --verbose because it makes it much easier for us to find the issue :)

svtplay-dl --verbose https://www.example.com
jaarsa commented 4 years ago

Sorry, for being noob. :)

Running windows 10 x64 1903

DEBUG [1575576505.3017755] c:\projects\svtplay-dl\lib\svtplay_dl\utils\getmedia.py/get_media: version: 2.4-2-g5466853 DEBUG [1575576505.3017755] c:\projects\svtplay-dl\lib\svtplay_dl\service__init.py/init__: service: dplay DEBUG [1575576505.3017755] c:\projects\svtplay-dl\lib\svtplay_dl\utils\http.py/request: HTTP getting 'https://www.dplay.no/videos/jul-i-blodfjell/sesong-1-episode-1' DEBUG [1575576505.3017755] C:\Python35\lib\site-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection (1): www.dplay.no:443 DEBUG [1575576505.5269794] C:\Python35\lib\site-packages\urllib3\connectionpool.py/_make_request: https://www.dplay.no:443 "GET /videos/jul-i-blodfjell/sesong-1-episode-1 HTTP/1.1" 200 None DEBUG [1575576505.5269794] c:\projects\svtplay-dl\lib\svtplay_dl\utils\http.py/request: HTTP getting 'https://disco-api.dplay.no/token?realm=dplayno&deviceId=4b10fc416763ad7b65a6d6fb3c0016505ec5aaa7a117021a26e4dd6d11fe7d1d&shortlived=true' DEBUG [1575576505.5269794] C:\Python35\lib\site-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection (1): disco-api.dplay.no:443 DEBUG [1575576505.7739916] C:\Python35\lib\site-packages\urllib3\connectionpool.py/_make_request: https://disco-api.dplay.no:443 "GET /token?realm=dplayno&deviceId=4b10fc416763ad7b65a6d6fb3c0016505ec5aaa7a117021a26e4dd6d11fe7d1d&shortlived=true HTTP/1.1" 200 None DEBUG [1575576505.7739916] c:\projects\svtplay-dl\lib\svtplay_dl\utils\http.py/request: HTTP getting 'https://disco-api.dplay.no/login' DEBUG [1575576505.83672] C:\Python35\lib\site-packages\urllib3\connectionpool.py/_make_request: https://disco-api.dplay.no:443 "POST /login HTTP/1.1" 400 124 DEBUG [1575576505.83672] c:\projects\svtplay-dl\lib\svtplay_dl\utils\http.py/request: HTTP getting 'https://disco-api.dplay.no/content/videos/jul-i-blodfjell/sesong-1-episode-1' DEBUG [1575576505.9126225] C:\Python35\lib\site-packages\urllib3\connectionpool.py/_make_request: https://disco-api.dplay.no:443 "GET /content/videos/jul-i-blodfjell/sesong-1-episode-1 HTTP/1.1" 200 None DEBUG [1575576505.9126225] c:\projects\svtplay-dl\lib\svtplay_dl\utils\http.py/request: HTTP getting 'https://disco-api.dplay.no/playback/videoPlaybackInfo/36004' DEBUG [1575576505.9776287] C:\Python35\lib\site-packages\urllib3\connectionpool.py/_make_request: https://disco-api.dplay.no:443 "GET /playback/videoPlaybackInfo/36004 HTTP/1.1" 403 214 ERROR [1575576505.9776287] c:\projects\svtplay-dl\lib\svtplay_dl\utils\getmedia.py/get_one_media: No videos found. You dont have permission to watch this

knutmw commented 4 years ago

Doesn't Dplay no longer allow downloading of premium content because they added some extra control when signing in? Is the latest available version of svtplay-dl updated to support this extra control dplay now does? Are there other options for obtaining permium content?

Take a look here https://github.com/spaam/svtplay-dl/issues/1175

knutmw commented 4 years ago

Anything happening reguarding Dplay Premium? Is it just not possible to get a workaroud the recaptcha? do anybody have any other way to download premium stuff form dplay?

default80 commented 4 years ago

You can use youtube-dl to download from Dplay Premium using the --cookies parameter. Perhaps a similar solution could be implemented in svtplay-dl?