keyreel
keyreel
It's a strange thing, but the library works just few days a week :) How is it possible?
Still didn't work
Does anyone have this error? Or is it just me?
I think that this is not the case. I got an error `requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.billboard.com/charts/radio-songs`, that mean that the page is not loaded. When I...
Using Debug tool in the PyCharm I've changed User-Agent from 'python-requests/2.32.3' to 'Mozilla/5.0' and got a result. Anybody know how to change default User-Agent?
Adding ` session.headers.update({'User-Agent': 'Mozilla/5.0'})` to the line 509 of the billboard.py: ``` def _get_session_with_retries(max_retries): session = requests.Session() session.headers.update({'User-Agent': 'Mozilla/5.0'}) # Added to change User-Agent session.mount( "https://www.billboard.com", requests.adapters.HTTPAdapter(max_retries=max_retries), ) return session...