-
Notifications
You must be signed in to change notification settings - Fork 152
the Error extracting sts from embedded url response #45
Comments
How about giving us some videos links you encountered that induce this error message? @tzarebczan |
a couple more are here: I do wonder if all of them are unavailable or limited videos. I'm sure I can pull up a much longer list but I'm going to need some time. |
@nikooo777 The couple of links you gave do not have videos on Youtube web page, either. |
Although still not fixed the code, I think I've pinpointed the cause and the cause seems rather weird. Here it is. The HTTP responses I got when requested through browser and through this code is surprisingly different, with the second one lacking "author" field. The related code line is as below. |
@tzarebczan I have figured out the reason which is that when you are not signed in on Youtube, some videos like the one you mentioned are not displayed because they may be inappropriate for children's eyes. So the only way to solve this problem is to add sign-in feature in this project to let Youtube know you are above certain age to let HTTP response show the desired video pages. |
@BruceWangNo1 thanks for digging into this for us! Is this something you guys would look into integrating? We can we compensate you for the work with LBRY Credits (LBC). Check out our app here: https://lbry.io/get Send me your LBC address to hello@lbry.io with this thread referenced so I can get some credits to you for looking into this issue. |
@tzarebczan Well, thanks for your kind offer. However, currently I do not have time to do this. I think you can manage to do that by using the Youtube API. |
These videos are blocked for copyright reasons. |
Running into this error on some YT downloads, any idea what it could be? https://github.com/rylio/ytdl/blob/master/video_info.go#L194
I'll find some example videos, but thought you might know if you've run into it.
The text was updated successfully, but these errors were encountered: