Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Youtube-dl encrypted signatures stuck #1124
Comments
|
I think that the problem is not in the signatures decryption, between the signature message and the error there are more steps. Probably the most time consuming, depending on your network, is when it stablishes the connection for downloading the video. |
|
I got a 1GBPS optical fiber connection from OVH, I usually download videos @ 15MB/S, I though it was signatures related since there is no else message from this to error, so as i said i need to find out a way to put a timeout on this stucking step. |
|
Well, the problem may be in other part but the signatures decryption is not that slow (each test decrypts 1 signature):
I don't have a connection as fast as yours but I haven't experience that problem (and I have been downloading lots of times videos with signatures), it's nearly instantaneous. |
|
hum maybe i forgot something, i'm using IPV6 |
|
I will try with only IPV4 then come back to you, however, if you have an idea or a clue on how to insert a timeout in a youtube-dl python function it will be great. Thanks for your answers. |
|
Look for |
|
I'm using on custom feature to bind an ip address to youtube-dl and i think it has more chance to appear when i bind an IPV6 address to the program, if you want to see this custom code => check Issue #1020 |
Hi, I just noticed that sometimes when Vevo encrypted signatures are decrypted by Youtube-dl, program is stuck on "signatures detected, length: X" then after like 30 seconds, an UnavailableError appear and video is not downloaded.
After some retries, it will be downloaded correctly, what I ask for is a way to prevent this 30 second wait by a decrypt timeout or something like that.
Does someone got any clue on how to implement this ? thanks.