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?

Scrape Google Resultstats With Python

I would like to get the estimated results number from google for a keyword. Im using Python3.3 and … Read more Scrape Google Resultstats With Python

Python - Easy Way To Scrape Google, Download Top N Hits (entire .html Documents) For Given Search?

Is there an easy way to scrape Google and write the text (just the text) of the top N (say, 1000) .… Read more Python - Easy Way To Scrape Google, Download Top N Hits (entire .html Documents) For Given Search?

Changing The Ip Address For Urllib2

I am trying to change the IP address from which my simple python code connects to my website. impor… Read more Changing The Ip Address For Urllib2

Twitter Stream Using Oauth In Python Behaving Differently On Two Equally Configured Machines

I have the same piece of coding to deal with Twitter User Stream running on two different machines.… Read more Twitter Stream Using Oauth In Python Behaving Differently On Two Equally Configured Machines

Python Urllib2 + Beautifulsoup

So I'm struggling to implement beautiful into my current python project, Okay so to keep this p… Read more Python Urllib2 + Beautifulsoup

Close Urllib2 Connection

I'm using urllib2 to load files from ftp- and http-servers. Some of the servers support only on… Read more Close Urllib2 Connection

Python: Log In A Website Using Urllib

I want to log in to this website: https://www.fitbit.com/login This is my code I use: import urllib… Read more Python: Log In A Website Using Urllib

Repeated Host Lookups Failing In Urllib2

I have code which issues many HTTP GET requests using Python's urllib2, in several threads, wri… Read more Repeated Host Lookups Failing In Urllib2

Beautifulsoup Functionality Not Working Properly In Specific Scenario

I am trying to read in the following url using urllib2: http://frcwest.com/ and then search the da… Read more Beautifulsoup Functionality Not Working Properly In Specific Scenario

Urllib2 Catches 404 Error While Url Exists

I faced with strange bug: urllib2 catches 404 error, while openning a valid url. I tryed it in brow… Read more Urllib2 Catches 404 Error While Url Exists

Python - Example Of Urllib2 Asynchronous / Threaded Request Using Https

I'm having a heck of a time getting asynchronous / threaded HTTPS requests to work using Python… Read more Python - Example Of Urllib2 Asynchronous / Threaded Request Using Https

Https Request Via Urllib2 Fails Behind Ntlm Proxy

Via Python's urllib2 I try to get data over HTTPS while I am behind a corporate NTLM proxy. I r… Read more Https Request Via Urllib2 Fails Behind Ntlm Proxy