Re: What's the best way to parse this HTML tag?

2012-03-12 Thread Roy Smith
In article bb1a55fa-3dcf-4480-ae87-be30a1a65...@h9g2000yqe.googlegroups.com, John Salerno johnj...@gmail.com wrote: Well, I had considered exactly that method, but I don't know for sure if the titles and names will always have links like that, so I didn't want to tie my programming to

What's the best way to parse this HTML tag?

2012-03-11 Thread John Salerno
I'm using Beautiful Soup to extract some song information from a radio station's website that lists the songs it plays as it plays them. Getting the time that the song is played is easy, because the time is wrapped in a div tag all by itself with a class attribute that has a specific value I can

Re: What's the best way to parse this HTML tag?

2012-03-11 Thread Roy Smith
In article 239c4ad7-ac93-45c5-98d6-71a434e1c...@r21g2000yqa.googlegroups.com, John Salerno johnj...@gmail.com wrote: Getting the time that the song is played is easy, because the time is wrapped in a div tag all by itself with a class attribute that has a specific value I can search for. But

Re: What's the best way to parse this HTML tag?

2012-03-11 Thread John Salerno
On Mar 11, 7:28 pm, Roy Smith r...@panix.com wrote: In article 239c4ad7-ac93-45c5-98d6-71a434e1c...@r21g2000yqa.googlegroups.com,  John Salerno johnj...@gmail.com wrote: Getting the time that the song is played is easy, because the time is wrapped in a div tag all by itself with a