Kethsar / ytarchive

Garbage Youtube livestream downloader
MIT License
1.15k stars 93 forks source link

«Video details not found» on a VPS #208

Closed formbi-kupiec closed 2 months ago

formbi-kupiec commented 2 months ago

I'm trying to download a livestream to my VPS (the connection on my machine has been very slow lately).

I'm getting «ERROR: Video Details not found, video is likely private or does not exist.». Ytarchive doesn't give any more information if I use --verbose. The video isn't private, it's downloading on my machine (quite slowly tho).

I'm guessing it might be similar to the «Sign in to confirm you_re not a bot.» error I'm getting in youtube-dl, but I can bypass that one via torsocks. Using torsocks on ytarchive doesn't do anything.

Hakkin commented 2 months ago

I'm guessing it might be similar to the «Sign in to confirm you_re not a bot.»

This is likely the case.

Using torsocks on ytarchive doesn't do anything.

torsocks doesn't work on Go programs because Go bypasses libc networking calls. You would need to pass in the local Tor socks5 as a proxy option instead.

formbi-kupiec commented 2 months ago

Thanks, it works when used like that. In case anyone else finds this issue, you can do something like this: ytarchive --proxy socks5://127.0.0.1:9050 [stream-url] 360p