justchokingaround / lobster

mmm lobster
GNU General Public License v2.0
572 stars 37 forks source link

Ability to change instance of api.consumet.org #48

Closed trueauracoral closed 1 year ago

trueauracoral commented 1 year ago

Is your feature request related to a problem? Please describe. api.consumet.org is not working currently. consumet is self hostable software there and there are people that have hosted it. I found this one https://api.haikei.xyz

Describe the solution you'd like In the config variables be able to change the consumet url

Describe alternatives you've considered Theoretically I could add this myself and make a pr. But I am bad at python and don't know much about shell scripting

Additional context Add any other context or screenshots about the feature request here.

trueauracoral commented 1 year ago

This should be a bug report. Apparently you can change the base url. api.consumet.org should be changed to a working consumet instance.

justchokingaround commented 1 year ago

that's great to know, thank you. the thing is i plan on refactoring the script completely soon (i finish my exams in 2 weeks), and then i'll go back to directly scraping the website without having to rely on an external api, which has proven to be quite unstable. here's a proof of concept script i wrote quickly: https://github.com/justchokingaround/dotfiles/blob/main/scripts/flixhq.sh

justchokingaround commented 1 year ago

fixed in https://github.com/justchokingaround/lobster/commit/831aa8f41987385fad30e5ee4e382218a61d1c60 example config:

player=mpv
subs_language=English
video_quality=1080
base=https://api.haikei.xyz/movies/flixhq
preferred_server=vidcloud
justchokingaround commented 1 year ago

irrelevant, since v3.9.9 doesn't rely on consumet anymore: https://github.com/justchokingaround/lobster/commit/72b5752df1251d33c12a7f81627d1d20413be819