SerienStreamAPI icon indicating copy to clipboard operation
SerienStreamAPI copied to clipboard

UrlExtractionFailedException: Failed to extract url from source. (captcha?)

Open kolgie opened this issue 8 months ago • 3 comments

When I try to download a video from s.to I get the error: "UrlExtractionFailedException: Failed to extract url from source." All the videostream URLs in from all available hosters (currently only VOE and Vidoza) return this stream url in my logs: https://s.to/r?t=eyJpdiI6IkNXQSsxZXZ5S1RqV1pmQzNRNnFQVEE9PSIsInZhbHVlIjoidFNQejJ0ZXJNRUZnZmlvcEVwaVdZOVo5alM3K2JXNDA2aFhOT1JTa0RXc2huTXJHQVVIL05sUEZLMlVTcjAzdzhzQjJCcnRFNmlIUWFIdjhmKzloV1E9PSIsIm1hYyI6ImI2NGU5OTMzMzFlOThkNjU0YzdkMzMyMzFiODVhZWE3YzZkNDc3MTU1OWE2Y2IxZTgxMzk5NzMzZTliMjJmZTAiLCJ0YWciOiIifQ%3D%3D

When I enter that URL into my browser it returns a captcha site. I suspect that is the culprit but I don't know if I'm right.

kolgie avatar Mar 15 '26 18:03 kolgie

Hello, is the captcha you see in the browser on the s.to site or the streamers site (in this case VOE)? You can use curl <URL> to check what it returns.

Could you please additionally send me the stack trace, so I can check where it fails.

Also, do you perhaps use a VPN or something similar which may cause bot-detection issues?

IcySnex avatar Mar 15 '26 19:03 IcySnex

Hello, is the captcha you see in the browser on the s.to site or the streamers site (in this case VOE)? You can use curl <URL> to check what it returns.

Could you please additionally send me the stack trace, so I can check where it fails.

Also, do you perhaps use a VPN or something similar which may cause bot-detection issues?

Hello, it actually was the VPN server again. Serienstream seems to give almost every non German IP a captcha now. Thank you so much for the quick support, though, I really appreciate that. Serienstream using captchas on non German IPs is a new thing btw, ran very well with an Italian server for at least a month. The captcha URL was logged instead of the correct VideoStream URL (your logging and my custom logging in my code) but it also popped up right before you're redirected to the embedded video when I went on the site manually and clicked on play.

kolgie avatar Mar 15 '26 20:03 kolgie

Interesting, thanks for the details. Lets hope they won't enforce the captcha on all IP's in the future..

IcySnex avatar Mar 15 '26 20:03 IcySnex