first python program.. lyrics search

Mel Wilson mwilson at the-wire.com
Sat Apr 3 08:07:45 EST 2004


In article <mailman.295.1080961642.20120.python-list at python.org>,
Gustavo Rahal <listas at grahal.net> wrote:
>Hi
>
>I'm trying to learn python by doing something that I think it would be
>nice; Search lyrics using some websites like www.musicsonglyrics.com,
>http://www.sing365.com [ ... ]
>The problem is once I have the M.htm page I don't now how to get from
>the html code the "http://www.musicsonglyrics.com/M/Metallica/Metallica
>lyrics.htm" link to proceed with the search. I tried to read about
>Regular Expressions but I think I'm to dumb for it.
>
>Any ideas? Maybe my approach is completely wrong....

   Look up htmllib in Python libraries.  It's not a small
job, but you'll have learned a lot by the time you've
finished.

        Good Luck.      Mel.



More information about the Python-list mailing list