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
Post a Comment