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

Web Scraping Using Python

I am trying to scrape the website http://www.nseindia.com using urllib2 and BeautifulSoup. Unfortun… Read more Web Scraping Using Python

Gevent / Requests Hangs While Making Lots Of Head Requests

I need to make 100k head requests, and I'm using gevent on top of requests. My code runs for a … Read more Gevent / Requests Hangs While Making Lots Of Head Requests

Python Rest / Teamcity Backup

I am trying to develop a python script to run REST backup procedure as shown in http://confluence.j… Read more Python Rest / Teamcity Backup

Download A Binary File Using Python Requests Module

I need to download a file from an external source, I am using Basic authentication to login to the … Read more Download A Binary File Using Python Requests Module

Add Ssl Ca File Using Urllib2

I need to be able to specify SSL certificate CA root, yet be able to insert HTTP cookie with Python… Read more Add Ssl Ca File Using Urllib2

Urllib2 Post Progress Monitoring

I'm uploading a fairly large file with urllib2 to a server-side script via POST. I want to disp… Read more Urllib2 Post Progress Monitoring

How To Send Post Request With No Data

Is it possible using urllib or urllib2 to send no data with a POST request? Sounds odd, but the API… Read more How To Send Post Request With No Data

Urllib2 Returns A Different Page The Browser Does?

I'm trying to scrape a page (my router's admin page) but the device seems to be serving a d… Read more Urllib2 Returns A Different Page The Browser Does?