Skip to content

Commit

Permalink
issue hzulla#45 use cloudscraper for requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobe committed Oct 28, 2021
1 parent fdda1c5 commit e07438a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tolinocloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.


import cloudscraper
import platform
import json
import base64
Expand Down Expand Up @@ -282,7 +282,7 @@ def _debug(self, r):
logging.debug('-------------------------------------------------------')

def login(self, username, password):
s = self.session;
s = cloudscraper.create_scraper();
c = self.partner_settings[self.partner_id]

# Login with partner site
Expand Down

0 comments on commit e07438a

Please sign in to comment.