streamlink: TVplayer.com login failing
Plugin Issue
- This is a plugin issue and I have read the contribution guidelines.
Description
As of yesterday (4/5/2019) tvplayer.com has been failing with “Failed to login” error. I can login with my account OK directly to the tvplayer website. I have tried creating a second account to verify it is not an account or user/pass issue.
Reproduction steps / Explicit stream URLs to test
- Run streamlink (streamlink “https://tvplayer.com/watch/clubland” best --tvplayer-email user@gmail.com --tvplayer-password password)
- Check log output for “[plugin.tvplayer][warning] Failed to login as user@gmail.com”
Log output
streamlink --loglevel debug "https://tvplayer.com/watch/clubland" best --tvplayer-email user@gmail.com --tvplayer-password password
[cli][debug] OS: Windows 10
[cli][debug] Python: 3.6.6
[cli][debug] Streamlink: 1.1.1+20.gc8ed1da
[cli][debug] Requests(2.21.0), Socks(1.6.7), Websocket(0.56.0)
[cli][info] Found matching plugin tvplayer for URL https://tvplayer.com/watch/clubland
[cli][debug] Plugin specific arguments:
[cli][debug] --tvplayer-email=user@gmail.com (email)
[cli][debug] --tvplayer-password=******** (password)
[plugin.tvplayer][debug] Logging in as user@gmail.com
[plugin.tvplayer][warning] Failed to login as user@gmail.com
[plugin.tvplayer][debug] Got stream attributes: {'channel_id': '225'}
[plugin.tvplayer][debug] Missing 'resource' from stream attributes
[plugin.tvplayer][debug] Missing 'token' from stream attributes
error: No playable streams found on this URL: https://tvplayer.com/watch/clubland
Additional comments, screenshots, etc.
Love Streamlink? Please consider supporting our collective. Thanks!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (7 by maintainers)
OK, I think this is all working again…
If anybody wants to test it, you can grab the whole tvplayer.py script that I’ve submitted via a PR from:
https://raw.githubusercontent.com/streamlink/streamlink/b5fe4acf8a098f0b0c07cfadf10e8d907ed96e2f/src/streamlink/plugins/tvplayer.py
Nice work!
Confirmed working as well.
Firstly, thanks for the great work, Ian. I wish I could be a python guru as well.
And it is working very well for me. I have been watching BBC 1 on tvplayer for the last half hour.
I’ll keep abusing it and trying to break it.
On Sun, 16 Feb 2020 at 15:59, Ian Cameron notifications@github.com wrote:
@tmatthews5511 this is not fixed, @mkbloke made good progress but it’s not a complete patch.
Also over my head i’m afraid.
It seems the video is now stored: https://live.tvplayer.com/live/bbctwo/3/prog_index.m3u8 https://live.tvplayer.com/live/bbctwo/3/3_2020-02-14_06-55-47_241871.ts
Authentication is required to access this, not sure if cookie/referrer based.
Everytime a new chunk is loaded a URL similar to the following is also accessed, not sure if this is coincidental or required to stream to continue:
https://infinity-c8.youboranqs01.com/ping?diffTime=5001&bitrate=-1&throughput=-1&droppedFrames=0&playrate=1&cdnDownloadedTraffic=8989032&p2pDownloadedTraffic=0&uploadTraffic=0&timemark=1581663369331&system=alchimie&sessionRoot=U_20001429_9kaj44una7kp2ayw_1581663329314&pingTime=5&code=U_20001429_9kaj44una7kp2ayw_1581663329314
The entire website now seems to be geoblocked, previously it was only the m3u8 & ts chunks that were blocked outside of UK.
The cookie seems to expire every 3 or so weeks. PITA but you can just grab new one from the browser and add to streamlink command line.
Thought I’d just post an update that 24hrs in the cookie is still working.