mhdzumair / MediaFusion

Universal Add-On for Stremio & Kodi
MIT License
192 stars 28 forks source link

Move site links to config to avoid blocks #71

Closed vijayvcm closed 5 months ago

vijayvcm commented 6 months ago

Hi @mhdzumair,

Thanks for your awesome work.

I just have some suggestions on storing the links.

I see that you have hard-coded the links inside the scrapper folder. It might be a problem if the sites change their domain or get blocked.

I would suggest keeping it in the config file separately and referring directly to the scrapper file.

Also, you can use the https://unblockit.pages.dev/ website to get the unblocked website directly.

mhdzumair commented 6 months ago

You're welcome to make the contribution. The changes will be done in the future if not.

vijayvcm commented 6 months ago

I would like to contribute but I am not familiar with python (can understand the logic though). I am more familiar with .NET and Nodejs. I will try if I can contribute in any areas.

Let me know if you need any help in the above mentioned technologies. Happy to help ✌🏻

mhdzumair commented 5 months ago

As you suggested, i have used a config file to store the site data instead of hard coding https://github.com/mhdzumair/MediaFusion/blob/develop/resources/json/scrapper_config.json.

However the https://unblockit.pages.dev/ website has their own cloudflare bot validation which is not in the original site it would be easy to use that one.