[mythtv-users] tv_grab_au 2.3

Max Barry mythtv at maxbarry.com
Wed Jun 28 10:00:10 UTC 2006


Michael Immir wrote:
> I might get time to look at this

In case it helps, I've had a poke around to figure out what they're doing.

First, you now need cookies to select any region but Sydney. The cookie
looks like this (using Melbourne as an example):

 Name: 9msnTVpref
 Content: region=94
 Host: tvguide.ninemsn.com.au
 Path: /

Second, the 'day' field is now coded as a big long string instead of
ddmmYYYY format. But the big long string is in the HTML source, so
should be easy enough for the script to grab.

You can then call an URL like:
http://tvguide.ninemsn.com.au/todaytv/default.asp?day=(big long string)

... and, so long as you're either in Sydney or sending a region cookie,
you get a handy 302 redirect the correct page.

Max.



More information about the mythtv-users mailing list