url-string transformation: from relative to absolute

Roman Suzi rnd at onego.ru
Sun Dec 2 13:49:20 CET 2001

On Sun, 2 Dec 2001, cruciatuz wrote:

>it's a little bit embarassing to ask this question, but ... :(
>I got a little script for fetching news from a website (attached)
>My problem is that the links in the fetched site are all relative.
><a href="news/2001/3736.html">
>i want to prepend:
>not a very complicated thing, i know. but i couldn't figure out HOW.
>anybody knows a solution?

function urlparse.urljoin()

Sincerely yours, Roman Suzi
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Sunday, December 02, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "Old MacDonald had a computer with an EIE I/O" _/

More information about the Python-list mailing list