You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the requests library is a dependency for cloudscraper,
That means that I can directly Import the requests 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 or util.get(link) and util.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
The text was updated successfully, but these errors were encountered:
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 the
requests
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
The text was updated successfully, but these errors were encountered: