how to scrape url out of href

homepricemaps at gmail.com homepricemaps at gmail.com
Sun Jan 1 19:50:54 EST 2006


sorry paul-i'm an extremely beginner programmer, if that! ;-) can you
give me an example?

thanks in advance

Paul Rubin wrote:
> homepricemaps at gmail.com writes:
> > does anyone have sample code for scraping the actual url out of an href
> > like this one
> >
> > <a href="http://www.cnn.com" target="_blank">
>
> If you've got the tag by itself like that, just use a regexp to get
> the href out.




More information about the Python-list mailing list