cloudflare-scrape icon indicating copy to clipboard operation
cloudflare-scrape copied to clipboard

Proxy Issue

Open Sarfroz opened this issue 4 years ago • 0 comments

i am trying following code proxies = { 'https' : 'https://username:[email protected]:3128'} cookie_value, user_agent = cfscrape.get_cookie_string("https://www.wdupload.com/", user_agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.108 Safari/537.36", proxies=proxies) request = "Cookie: %s\r\nUser-Agent: %s\r\n" % (cookie_value, user_agent) print (request)

the problem is the code is ignoring the proxy, it's taking my IP but not the proxy.

I m using Python 3.5.2 on ubuntu

Sarfroz avatar Apr 02 '20 14:04 Sarfroz