rytsikau / ee.Yrewind

Program to rewind and save YouTube live stream
https://rytsikau.github.io/ee.Yrewind
206 stars 12 forks source link

The remote server returned an error #73

Open bananarama42 opened 3 months ago

bananarama42 commented 3 months ago

I keep running into this error quite often now. It starts downloading and then at a random percentage it throws this error. After a few tries it usually downloads everything though, but it makes it hard to download anything in a batch as I need to re-run it several times. image

Sion89 commented 3 months ago

Yes. Also quite often now. 401 or 403

mike365sofresh commented 3 months ago

Yes, same here. It has been happening randomly for the past several weeks, but today it will error every time.

Sion89 commented 3 months ago

@rytsikau , we need your help again, nothing is downloading at all, only the first 10-13 MB, then - error "Forbidden 403". It started 20 hours ago.

bananarama42 commented 3 months ago

I guess there aren't really any updates on this? ☹

chengquan100 commented 3 months ago

https://github.com/user-attachments/assets/58e36539-a143-4ef5-a4a6-dc9ba933fd4a

Does anyone have this problem? It's been bothering me for a long time :( Cannot print exception string because Exception.ToString() failed

Sion89 commented 2 months ago

Untitled.mp4 Does anyone have this problem? It's been bothering me for a long time :( Cannot print exception string because Exception.ToString() failed

Downloads only the first 10-13MB? I think it's the same 403 error just without a detailed description.

Please help with alternatives...

Sion89 commented 2 months ago

any news?...

bananarama42 commented 2 months ago

I was hoping it would have magically fixed itself, but still has a 100% fail rate.

ststoshev commented 2 months ago

I have discovered the workaround. When downloading a clip of less than 1min 20 seconds, it manages to finish the streams before it breaks with 403 error. So to download a 10 minute clip, you need to download 10 streams each of 1 minute (for example), then by using ffmpeg to join (-concatenate) the 10 mp4 files in one concatenated big file (without recompression). Under fast internet connection we get around 50 megabytes of data or 1 min: 20 seconds at 1080 pixels resolution. On slower internet, it breaks with 403 and downloads smaller data. So I assume the 403 error is programmed to come up some seconds after the download start. So we need to automate a large clip to be requested in 1 minute chunks or less, check if all 1-minute intervals are downloaded, and then concatenate the received mp4 files back to the initial clip. Currently I do it manually, but it can easily be automated.