[20 / 5 / 1]
>try to use go's http library to access https://soyjak.party/soy/threads.json
>error 403, cloudflare has decided the request is le bad and a captcha must be solved first
>try to access it through curl, wget and python's requests library
>all run into the same issue
>have the idea to include my browser's user-agent in the request header
>this fixes it for curl, wget and python but go is still running into the 403 error
how do i get around this? i've tried adding other headers like accept-language and referer to no avail
it doesn't make sense that it's rejecting all GET requests sent through go's http client no matter what yet everything else just werks once i add a user-agent header
>error 403, cloudflare has decided the request is le bad and a captcha must be solved first
>try to access it through curl, wget and python's requests library
>all run into the same issue
>have the idea to include my browser's user-agent in the request header
>this fixes it for curl, wget and python but go is still running into the 403 error
how do i get around this? i've tried adding other headers like accept-language and referer to no avail
it doesn't make sense that it's rejecting all GET requests sent through go's http client no matter what yet everything else just werks once i add a user-agent header
