Hi all, I need to extract the domain-name from a given url(without sub-domains). With urlparse, i am able to fetch only the domain-name(which includes the sub-domain also).
eg: http://feeds.huffingtonpost.com/posts/ , http://www.huffingtonpost.de/, .... all must lead to *huffingtonpost.com or huffingtonpost.de** * Please suggest me some ideas regarding this problem. -- Yours, S.Selvam
-- http://mail.python.org/mailman/listinfo/python-list