Cloudflare blocks any API requests I make (to the new API, anyway) using python, "based on my browser signature". Presumably if I generate header fields to mimic a real browser, this'll let me get access, but that's not really a good system since API responses aren't really meant to be loaded directly in browsers!
Edit: fixed by using httplib instead of urllib - the problem seems to be to do with not accepting cookies apparently. Either way, cloudflare should not require cookies!
↧