@Martin_Stahl, I'm sensing from some of the comments that this might be a Python specific problem - is that possible?
At least @Wallace_Wang isn't having any problem using the same User-Agent format and @AfraidToShootStrangers is fine in R....
"It seems the 403 error only happens in my python script"
Yes my request works in R, in the browser if i copy the request url. So it seems my IP is not banned at all. Maybe some update version problem in python? My python version is: Python 3.10.12.
I'm still getting 403 errors for every request.