Webepg in CH: New site 20min.ch (2 Viewers)

Crash

MP Donator
  • Premium Supporter
  • December 12, 2005
    120
    4
    Home Country
    Switzerland Switzerland
    suuberi Arbeit :D

    nice work
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    I have updated the 20min.ch Grabber with the new WebEPG features. It can now get all the information from the linked page. Making this most likely the best grabber for CH.

    An example of the output is:

    Code:
      <programme start="20061109232000" channel="sf1@sfdrs.ch">
        <title>Das verrückte Hotel - Fawlty Towers</title>
        <sub-title>Waldorfsalat</sub-title>
        <desc>Zwei hungrige Gäste fordern trotz später Stunde vehement, bekocht zu werden.
    Pech für Basil, denn leider weigert sich Küchenchef Terry ebenso heftig, in der Küche
    Überstunden zu schieben. Missmutig wirft Basil sich selbst in die Schürze. Das Verhängnis
    nimmt seinen Lauf, als Mr. Hamilton einen Waldorfsalat nebst einem «Screwdriver» ordert.
    Basil präsentiert stolz seine kullinarische Höchstleistung «Salatblätter am Schraubenzieher».
    Zweikanalton</desc>
        <category>Serie, Comedy</category>
        <episode-num>9</episode-num>
      </programme>


    I haven't added all the channels yet. I will see when I have a little more time, but if someone else would like to help out that would also be great ;)

    Enjoy,

    /James
     

    CHli

    Portal Pro
    July 5, 2005
    1,251
    14
    Switzerland
    Home Country
    Switzerland Switzerland
    Since I saw that the fernsehen.ch grabber is now a little buggy I will investigate the 20min.ch one and complete it ;)

    I'll keep you informed !
     

    CHli

    Portal Pro
    July 5, 2005
    1,251
    14
    Switzerland
    Home Country
    Switzerland Switzerland
    2006-11-10 09:25:14.468750 [Info.][1]: WebEPG: Starting
    [Grabbing...]
    2006-11-10 11:26:50.875000 [Info.][1]: WebEPG: Finished

    32 channels grabbed, mainly on 20min.ch

    2 hours :-|

    I think the amount of advertisment on 20min.ch is to blame :( I will try to stop the connections to their adserver and see what's happen.

    Code:
    2006-11-10 10:20:16.843750 [Info.][1]: WebEPG: Getting Channel 11 of 32
    2006-11-10 10:20:16.843750 [Info.][1]: WebEPG: Opening FR\fr_tv_yahoo_com.xml
    2006-11-10 10:20:16.843750 [Info.][1]: WebEPG: ChannelId: m6.fr
    2006-11-10 10:20:16.843750 [Debug][1]: WebEPG: Grab Start 10:20 10.11.2006
    2006-11-10 10:20:16.875000 [Info.][1]: WebEPG: Reading http://fr.tv.yahoo.com/tvpdb?d=tvs&id=166009868&channels=europe_m6t&lineup=fr&.intl=fr&startdate=1163125216 POST: 
    2006-11-10 10:20:17.031250 [Info.][1]: WebEPG: Listing Count 1
    2006-11-10 10:20:17.062500 [Info.][1]: Parsing error #START : Previous day
    2006-11-10 10:20:17.062500 [Info.][1]: WebEPG: Reading http://fr.tv.yahoo.com/tvpdb?d=tvs&id=166009868&channels=europe_m6t&lineup=fr&.intl=fr&startdate=1163211616 POST: 
    2006-11-10 10:20:17.203125 [Info.][1]: WebEPG: Listing Count 1
    2006-11-10 10:20:17.203125 [Info.][1]: Parsing error #START : Previous day
    2006-11-10 10:20:17.203125 [Info.][1]: WebEPG: Reading http://fr.tv.yahoo.com/tvpdb?d=tvs&id=166009868&channels=europe_m6t&lineup=fr&.intl=fr&startdate=1163298016 POST: 
    2006-11-10 10:20:17.359375 [Info.][1]: WebEPG: Listing Count 1
    2006-11-10 10:20:17.359375 [Info.][1]: Parsing error #START : Previous day

    What does previous day mean ?
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    The "Pervious day" is the text that was parsed for the #START field. This is clearly an error, because it should be a time.

    Most likely is this text on the page and the template is getting this for #START.

    The ads wont be loaded by WebEPG, unless you use the external option. This uses IE to get the data and IE likes to download all this stuff.

    I have seen that 20min is a little slow, but once the data is in the db then the second grab will be a lot quicker.

    I have been thinking of doing a two pass grab. Step one just the main page data for each day and then in a second step get the extended details for each program.

    Cheers,

    /James
     

    TimmyT

    Portal Pro
    October 18, 2004
    107
    11
    Zurich
    Home Country
    Switzerland Switzerland
    Hi James
    I'm using the 20min grabber for a couple of months and it beats the rest by far. Thanks a lot for your work!

    Now a little request: Could you please add the two stations "3plus" and "U1 TV" to the 20min_ch.xml grabber?

    <Channel id="3plus.ch" siteId="184" />
    <Channel id="u1tv.ch" siteId="52 />

    That would be great, then I don't have to update the xml file after every new svn version.

    thanks a lot
    TimmyT
     

    Users who are viewing this thread

    Top Bottom