Skip to content Skip to sidebar Skip to footer
Showing posts with the label Proxy

How Can Urllib2 / Httplib Talk Http 1.1 For Https Connections Via A Squid Proxy?

When I use urllib2 to make a HTTP 1.1 connection via a squid proxy, squid makes a new ongoing conne… Read more How Can Urllib2 / Httplib Talk Http 1.1 For Https Connections Via A Squid Proxy?

How To Set Proxy In Windows With Python?

How can I get the current Windows' browser proxy setting, as well as set them to a value? I kno… Read more How To Set Proxy In Windows With Python?

How To Set Different Ip According To Different Commands Of One Single Scrapy.spider?

I have a bunch of pages to scrape, about 200 000. I usually use Tor and Polipo proxy to hide my spi… Read more How To Set Different Ip According To Different Commands Of One Single Scrapy.spider?

Python Urllib2 Can Open Localhost But Not 127.0.0.1

I am using python urllib2 library and can see a strange and nasty problem. Windows 7. My code: impo… Read more Python Urllib2 Can Open Localhost But Not 127.0.0.1

How To Set Proxy Settings On Macos Using Python

How to change the internet proxy settings using python in MacOS to set Proxy server and Proxy port … Read more How To Set Proxy Settings On Macos Using Python

Need Help Writing A Twisted Proxy

I want to write a simple proxy that shuffles the text in the body of the requested pages. I have re… Read more Need Help Writing A Twisted Proxy

Using Tweepy Api Behind Proxy

I have a using Tweepy, a python wrapper for Twitter.I am writing a small GUI application in Python … Read more Using Tweepy Api Behind Proxy

Using Tor Proxy With Scrapy

I need help setting up Tor in Ubuntu and to use it within scrapy framework. I did some research and… Read more Using Tor Proxy With Scrapy

How Does One Specify The Equivalent Of `--proxy-headers` Curl Argument Into Requests?

I'm looking to pass some headers only into my proxies as I'm using requests, and I don'… Read more How Does One Specify The Equivalent Of `--proxy-headers` Curl Argument Into Requests?

Python Requests Doesnt Work For Https Proxy

I try to use https proxy in python like this: proxiesDict ={ 'http': 'http://' +… Read more Python Requests Doesnt Work For Https Proxy

How To Rotate Selenium Webrowser Ip Address

I have a Python script that visits a website every 30 sec, and I would need to have a different IP … Read more How To Rotate Selenium Webrowser Ip Address

Autodetect Proxy Setting Linux

I am writing a python app that needs to send and retrieve some information from Internet. I would l… Read more Autodetect Proxy Setting Linux

Connect To A Server Through Proxy With Socket Library (python3)

I'd like to use socket library to connect to a server (not necessary a webserver) through an ht… Read more Connect To A Server Through Proxy With Socket Library (python3)

How To Use Feedparser With Proxy In Python 3?

I'd like to use a proxy and feedparser. This is how I'd do in urllib2: import urllib2, feed… Read more How To Use Feedparser With Proxy In Python 3?

Python Socket Module. Connecting To An HTTP Proxy Then Performing A GET Request On An External Resource

To begin with, I understand there are other modules such as Requests that would be better suited an… Read more Python Socket Module. Connecting To An HTTP Proxy Then Performing A GET Request On An External Resource

Does Python Urllib2 Library Use The IE Proxy Setting Default On Windows?

I noticed the urllib2 library used my IE proxy setting. Any official explanation for this? Thanks a… Read more Does Python Urllib2 Library Use The IE Proxy Setting Default On Windows?

Python3, Can't Set Socks Proxy With Chromedriver (socks.py Type Integer Error)

I'm trying to use a socks5 proxy via localhost with chromedriver and python3.5. However, I get … Read more Python3, Can't Set Socks Proxy With Chromedriver (socks.py Type Integer Error)

How To Use Requests Library Without System-configured Proxies

If I supply None or an empty dict to the proxies parameter, requests will automatically fall back t… Read more How To Use Requests Library Without System-configured Proxies