hzulla / tolino-python

Access to tolino cloud with Python 3
GNU Lesser General Public License v2.1
78 stars 35 forks source link

issue #45 use cloudscraper for requests #46

Open tobexyz opened 2 years ago

tobexyz commented 2 years ago

As first fix to cope with the cloudflare DDoS protection I used cloudscraper for all requests. There persist a problem during logout so I decided to do not logout on upload. As far as I understand the oauth2 token should not be valid for long. So I think it won't lead to problems if we don't logout.