I am scraping a pool of URLs in a python/selenium setup using phantomJS and custom http headers.
Some specific URLs block the request and forward it to dontuseabot.css
.
However, when I manually edit the capitalization of some header fields and replay/reissue the request using Fiddler, I can reach the URL of interest without seeing dontuseabot.css
.
Since http headers are case sensitive, how to force uppercase/lowercase in phantomJS request header fields? Setting up a rule in Fiddler seems like an inefficient solution - similar to patching phantomJS.