How to get channel lineup info?

Discussion about Schedules Direct grabber code and data formats.

How to get channel lineup info?

Postby dereks » Mon Feb 04, 2008 5:02 pm

Hi,

Hope this is the appropriate place to ask. I've checked the FAQ, and can't find any documentation on this subject.

I want to download lineups (not listings) for my cable provider. The information I want is exactly what appears on the http://www.schedulesdirect.org/lineups/report/<whatever>(*) URL, so I could just get it by screen-scraping. But I can't help thinking there's a better, "approved" way of doing it, without screen scraping output that's obviously intended for human consumption.

If there's an existing tool that does it, or a Perl recipe, or just a URL for the xml and a schema to decode it, I'd be very grateful for a pointer to it. If not, I'll just screen-scrape it.

Thanks,
D.

(*) I.e: Channel, XMLID, Callsign, and Name.
dereks
 
Posts: 1
Joined: Mon Feb 04, 2008 4:44 pm

Re: How to get channel lineup info?

Postby rmeden » Mon Feb 04, 2008 5:12 pm

it's only a single table you can copy /paste it... (screen scraping for a one-time thing is kinda weird)

If you want it it HTML, you can also just view the source for that page and copy/paste that.

You can also use xmltv's tv_grab_na_dd --list-channels command.

Robert
rmeden
SD Board Member
 
Posts: 1497
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX

Re: How to get channel lineup info?

Postby marc.aronson » Sun Apr 19, 2009 9:39 pm

dereks, I'm looking to do the same thing. Did you ever sovle this? I'm trying to do this from a bash script, and while I have a way forward, the way I'm coming at it is going to require a lot of parsing. I'm hoping you have something I can beg, borrow or steal :-), thanks!

Marc
marc.aronson
 
Posts: 18
Joined: Wed Aug 22, 2007 7:50 am


Return to Developers Corner

Who is online

Users browsing this forum: No registered users and 4 guests