i3arnon / YouCast

Turn YouTube Channels into Subscribable Podcasts.
http://youcast.i3arnon.com/
GNU General Public License v2.0
250 stars 34 forks source link

Downloads are giving error 404 once again #88

Closed dirkschut closed 8 months ago

dirkschut commented 8 months ago

Since about 6-8 hours ago, downloads from YouCast feeds are giving error 404. Not a quota issue. Perhaps updating YouTube Explode will fix this.

Edit: I'm not currently at a dev machine so I can't test it myself, but there have been a lot of updates to explode since the last YouCast update, so I think this might be the fix.

Edit2: There also appears to be a fork that has some active development called ReExplode.

qtlin commented 8 months ago

Many videos still don't download. May be makes sense to try ReExplode?

dirkschut commented 8 months ago

Did you try my new version @qtlin ? Because I'm not having any issues with the updated Explode

qtlin commented 8 months ago

Upon detailed investigation I discovered that some videos download only if podcast reader co-located with YouCast, e.g. shares the same external IP address. For example curl -vLO 'http://myyoucast:port/Video.mp4?videoId=xxxxxxxxxx&encoding=MP4_720p' works from the same IP as YouCast but gets HTTP/1.1 403 Forbidden from youtube server if ran from elsewhere. Youtube clearly imposes selective restriction by an unknown IP related criteria.

dirkschut commented 8 months ago

@qtlin I'm not having this issue myself... Can you give some video IDs where you have this problem for me to test? I tested with my phone on 5G and on different wifi network and did not find this issue...

maxol18 commented 8 months ago

No issue to download with v2.23.1 everything works fine on my side

i3arnon commented 8 months ago

New release: https://github.com/i3arnon/YouCast/releases/tag/2.24.0

i3arnon commented 8 months ago

Upon detailed investigation I discovered that some videos download only if podcast reader co-located with YouCast, e.g. shares the same external IP address. For example curl -vLO 'http://myyoucast:port/Video.mp4?videoId=xxxxxxxxxx&encoding=MP4_720p' works from the same IP as YouCast but gets HTTP/1.1 403 Forbidden from youtube server if ran from elsewhere. Youtube clearly imposes selective restriction by an unknown IP related criteria.

Yes. I gathered that a long time ago which is why I let go of the cloud service.

qtlin commented 7 months ago

@i3arnon that is why I mentioned earlier that YouCast should proxy connection instead of responding with a URL which includes hardcoded IP address of YouCast system. A possible workaround is to replace an IP in returned URL with an IP of incoming connection.