Open ArjixWasTaken opened 3 years ago
aight, i managed to write a provider for shiro.is
can you, idk, change the bot that checks the quality of the code? i follow pep standards and it always has a problem against me...
I'll look into it, I rarely have issues with it since I have configured my environment (I guess, if I remember right)
So, we have no way to contact each other, that's why I am making an issue where we can discuss on provider related stuff.
First of all, Since you are using
cloudscraper
, and therequests
library is a dependency forcloudscraper
, That means that I can directly Import therequests
library, right? Using a session for simple api calls (the provider im working on) sounds like a pain.Also, I suggest writing wrapper functions in the util file, that way we can use smth like
util.soup(html)
for parsing html orutil.get(link)
andutil.post(link, data)
for requests that dont need a session. PS: If you have no problem with the helper functions then I can just add them along with my PR