GCCempt / GCC_OpenSong_bot

We were lazy and didn't want to do things by hand so instead we spent hundreds of manhours automating it. classic.
http://gccpraise.com/
2 stars 0 forks source link

HTTP 406 Error on URL Open #167

Closed Infosecguy10 closed 2 years ago

Infosecguy10 commented 3 years ago

The URL Open function in downloadbuletin.py is getting a 406 Error - Not Acceptable: urllib.error.HTTPError: HTTP Error 406: Not Acceptable

Infosecguy10 commented 3 years ago

https://www.tutorialguruji.com/python/http-406-not-acceptable-client-error-when-using-urlopen/

Recommended solution is to add an "accept header" to the URL Request

Infosecguy10 commented 2 years ago

Withdrawn.