question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

YuppTV - Invalid captcha token

See original GitHub issue

Plugin Issue

  • [x ] This is a plugin issue and I have read the contribution guidelines.

YuppTV seems to have added some sort of login captcha (looks to be Google’s recaptcha) which is preventing logging into the website and getting access to paid/premium streams. Free streams which do not require login still work. I am willing to provide an account temporarily for anyone that might be interested in fixing this. They will need a UK IP during testing.

Reproduction steps / Explicit stream URLs to test

  1. Use relevant Streamlink parameters for premium stream requiring login. streamlink --yupptv-email=myemail@gmail.com --yupptv-password=password123 --http-no-ssl-verify https://www.yupptv.com/channels/star-plus-uk/live

  2. Failed Login and no stream output.

Log output

**Premium stream requiring login** (Does not work)

C:\Users\*****>streamlink --yupptv-email=myemail@gmail.com --yupptv-password=password123  --http-no-ssl-verify https://www.yupptv.com/channels/star-plus-uk/live --loglevel debug
[cli][debug] OS:         Windows 10
[cli][debug] Python:     3.6.6
[cli][debug] Streamlink: 1.5.0
[cli][debug] Requests(2.24.0), Socks(1.7.1), Websocket(0.57.0)
[cli][info] Found matching plugin yupptv for URL https://www.yupptv.com/channels/star-plus-uk/live
[cli][debug] Plugin specific arguments:
[cli][debug]  --yupptv-email=myemail@gmail.com (email)
[cli][debug]  --yupptv-password=*****  (password)
[plugin.yupptv][error] Failed to login: Invalid  captcha token (code: 403)
[plugin.yupptv][error] This stream requires you to login
error: No playable streams found on this URL: https://www.yupptv.com/channels/star-plus-uk/live




**Free stream not requiring login**  (Does work)

C:\Users\*****>streamlink --http-no-ssl-verify https://www.yupptv.com/channels/aajtak/live best --loglevel debug
[cli][debug] OS:         Windows 10
[cli][debug] Python:     3.6.6
[cli][debug] Streamlink: 1.5.0
[cli][debug] Requests(2.24.0), Socks(1.7.1), Websocket(0.57.0)
[cli][info] Found matching plugin yupptv for URL https://www.yupptv.com/channels/aajtak/live
[utils.l10n][debug] Language code: en_GB
[cli][info] Available streams: 216p (worst), 270p, 288p, 396p, 406p (best)
[cli][info] Opening stream: 406p (hls)
[stream.hls][debug] Reloading playlist
[stream.hls][debug] First Sequence: 9065; Last Sequence: 9094
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 9092; End Sequence: None
[stream.hls][debug] Adding segment 9092 to queue
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Adding segment 9093 to queue
[stream.hls][debug] Adding segment 9094 to queue
[cli][info] Starting player: "C:\Program Files\VideoLAN\VLC\vlc.exe"
[stream.hls][debug] Download of segment 9092 complete
[cli.output][debug] Opening subprocess: "C:\Program Files\VideoLAN\VLC\vlc.exe" --input-title-format https://www.yupptv.com/channels/aajtak/live -
[stream.hls][debug] Download of segment 9093 complete
[cli][debug] Writing stream to output
...

Additional comments, screenshots, etc.

Love Streamlink? Please consider supporting our collective. Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:25 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
mytee12commented, Sep 20, 2020

@mkbloke

Took me a while to figure out what was happening, but it seems that after 7 days the cache in the file plugin-cache.json is automatically purged. However, If I re-set the SAME credentials again they will continue working… I have done this 3 times with the same tokens and the only change is the expires in the plugin-cache.json file . So it is possibly the expiry date being set in the cache file incorrectly causing the credentials to be purged prematurely?

Prior to trying a stream - plugin-cache.json file:

"expires": 1600559413.4241705
"expires": 1600559413.455421

Trying to play a stream and YuppTV credentials are purged automatically from plugin-cache.json: {}

[plugin.yupptv][error] This stream requires you to login
error: No playable streams found on this URL: https://www.yupptv.com/channels/star-plus-uk/live

After setting new credentials, new expiry date with same credentials:

"expires": 1601164607.7820444
"expires": 1601164607.8171265
1reaction
mytee12commented, Aug 14, 2020

I can confirm that we have lift off! Both free and premium stream are working. Thank you very much @mkbloke I will update on how long the tokens take to expire for anyone who is interested in knowing.

To clarify for any others, your commands should be like the following, replacing the random strings 342a4cqwedey4d73 and YT-7h2fae6b-u643-5ctc-483f-11856f3b155p with the appropriate tokens and the stream link of your choosing e.g.

streamlink --http-no-ssl-verify -l debug --yupptv-boxid 342a4cqwedey4d73 --yupptv-yuppflixtoken YT-7h2fae6b-u643-5ctc-483f-11856f3b155p https://www.yupptv.com/channels/star-plus-uk/live best

To get the tokens… use Firefox and log into your YuppTV account, press F12 on your keyboard and go to the Storage tab at the top. You should see the cookies section and go to yupptv.com. Copy the Value of BoxId and YuppflixToken and use them in your streamlink parameters above. Make sure you do not click the logout button on YuppTV website, instead just close it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Invalid CAPTCHA token" message since upgrade to new ...
I have rolled back to token 6.x-1.10, solved a few CAPTCHAS and re-updated to token 6.x-1.11, and I constantly get "Invalid CAPTCHA token" ......
Read more >
Untitled
Samsuria beach residence tripadvisor, How software token works, Unlaced timbs, Causal-comparative, Eilerastis stovi pasaku namelis, Hellenic ethnic religion ...
Read more >
Untitled
Mixtard 30 penfill 100 iu/ml, Core design captcha, 1live klubbing youtube, ... Diameter waterleiding keuken, Yupp tv vs roku, Udden console with sink, ......
Read more >
Untitled
Nsa surveillance on us citizens, Bible proven wrong, Factionum latein, ... Tvnea facebook, Ukayed coin penny pusher, Wood heater parts online, ...
Read more >
Untitled
... Wow lvl 1-70, Malaysia 1 cent coin made of, Oficjalny mail do firmy. ... Visionnet dvr c3, 3x error data is null,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found