Open gkdwoe opened 1 month ago
Hey @gkdwoe, did you test using curl_cffi and saw that it resolved this?
I've hit this issue from time to time too. I tried setting the user-agent
header manually but still received the error from bandcamp's varnish cache server.
Nevermind, I just tried it with curl_cffi, and that does work where just setting the user agent doesn't. Odd.
It also takes a few code changes (their Request object doesn't support with ... as ...
syntax), but I'll get a change out for this shortly.
In my case python requests to "https://bandcamp.com" resulted in 403 forbidden. Using something like https://github.com/lexiforest/curl_cffi to impersonate chrome would work fine.