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.
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.