JohannesPertl / reddit-video-download-bot

A reddit bot that provides downloadable video links
MIT License
317 stars 32 forks source link

upload_via_ripsave not working since recent website change #6

Closed JCA122204 closed 5 years ago

JCA122204 commented 5 years ago

What is the issue you referred to in your post yesterday. I want to help if you can't fix it now.

JohannesPertl commented 5 years ago

Thanks! The script mainly used https://ripsave.com to provide links, but the owner recently changed the website, so my way of accessing the video link doesn't work anymore (via selenium). The functionality is provided in upload_via_ripsave(). If you can find a way to fix it (maybe using basic http requests and posts, or selenium, or both) that would be great!

ptoews commented 5 years ago

Currently, the ripsave links seem to work: https://www.reddit.com/user/VredditDownloader/ Is this still an issue? Or doesn't it occur every time?

JohannesPertl commented 5 years ago

I wrote a quick fix just a few minutes before your comment ;) I just updated the repo, so the issue should be resolved for now, but feel free to improve my solution, it's a bit smelly

JohannesPertl commented 5 years ago

My quick fix didn't really fix the issue apparently. As ripsave only hosts the file for a few minutes, the link my bot posts doesn't lead anywhere after that time.

ptoews commented 5 years ago

Just wondering: Why is ripsave so important? Aren't there two alternative providers?

JohannesPertl commented 5 years ago

I previously used http://vredd.it, but it's offline now. The only other provider is http://lew.la, but I limited uploading to 100 videos/day per request of the owner.