2019-05-25, 07:24
(2019-05-24, 23:58)Helioy Wrote:(2019-05-23, 03:24)VeNoMouSNZ Wrote:(2019-05-21, 19:54)Helioy Wrote: Anyone know what's happening in line 463+464. Workaround for cloudflare? I suggest to use something like https://github.com/VeNoMouS/cloudscraper...oudscraper instead.naww as a kodi plugin developer myself, feel the <3 Helioy
I would do something simply as ...
import cloudscraper
scraper = cloudscraper.create_scraper()
response = scraper.get('https://us-central1-kodi-thuongtin.cloudfunctions.net/subscene2', json=data)
Assuming "data" is a dict...
Hah. I see you're here as well. Is there any reason for going through his site? Something is passed and returned through his server which I'm not too keen about. Privacy.... So would it be possible to work directly with subscene? I am slowly learning python, data science, so getting the a test env up and running for kodi mostlikely is quite challenging for me. Yet, it is fun to poke around.
Nothing at all, I don't think it would be that hard to write a python module for it... surely there must already be an existing module around?