Menu

#85 Domain name changed for tv_grab_pt

closed-accepted
tv_grab_pt (3)
5
2012-02-11
2012-02-03
Anonymous
No

Zon has stopped "support" for their (old) tvcabo.pt domain name. The data should now be fetched from the zon.pt domain name. Apparently the data structure remains unchanged.

So:
Line 100 " my $DOMAIN = 'tvcabo.pt'; " (alter to 'zon.pt')
Line 252 " if (/^channel:?\s+(.+)\.tvcabo\.pt\s*$/) { " (alter tvcabo to zon)
Line 383 " $ch_xmltv_id =~ /(.+?)\.tvcabo\.pt/; " (same as above)

Those were the only references I could find to "tvcabo" in grab\pt\tv_grab_pt, so I believe altering those 3 line should fix it.

Discussion

  • Anonymous

    Anonymous - 2012-02-07

    Changing lines 252 and 383 will break existing .conf files, but probably worth changing to avoid future confusion.

    I've tested the changes with a test build, and it is fixed. I've attached a corrected version of this grabber's revision 1.48. I would give my thanks if any of the developers could update the file from alpha building. My test build will eventually stop working (when ActiveState PDK's trial period expires).

     
  • Karl Dietz

    Karl Dietz - 2012-02-10

    Did the channel numbers change? It would be nice to be able to use an old configuration if they are the same.

     
  • Karl Dietz

    Karl Dietz - 2012-02-10

    extended patch to read configuration with old site name to ease upgrades

     
  • Anonymous

    Anonymous - 2012-02-10

    Opening the conf file with a text editor, and changing the tvcabo part of the channel number to zon will make the conf file compatible with the changes made.

    That's what I did.

     
  • Karl Dietz

    Karl Dietz - 2012-02-11

    Patch has been committed with a small addition to allow usage of old configuration files (its a drop in replacement)

     
  • Karl Dietz

    Karl Dietz - 2012-02-11
    • labels: 757330 --> tv_grab_pt
    • assigned_to: nobody --> dekarl
    • status: open --> closed-accepted
     
  • Jose Silva

    Jose Silva - 2012-02-20

    The address changed again and with it, the data structure, I believe. At least the page look and functions are very different and the grabber doesn't work even if the address is changed as below.

    New address is: http://www.zon.pt/tv/guiaTV/Pages/GuiaTV.aspx

     
MongoDB Logo MongoDB