web scraping - collect web page source with python 2.5.2 -


i working on appliance using old version of python (2.5.2).

i'm working on script needs read webpage, can't access normal libraries - urllib, urllib2 , requests not available.

how did people collect in olden days?

i wget/curl shell, i'd prefer stick python if possible. need able go through proxy may force me system calls.

if want old-school entirely within python without urllib, you'll have use socket , implement tiny subset of http 1.0 fetch page. jumping through hoops through proxy painful though.

use wget or curl , save few days of debugging.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -