Created by: Pheelbert
This worked in my case and thought I'd contribute it back into the main repo. There's probably a better way to do this. Essentially the cookies are set when visiting the URL once, then we do the request again with the needed cookies. Without the cookies, the response was always 302.