Menu

#26 telemoustique site structure changed

open
den_RDC
be_tlm (6)
5
2005-09-15
2005-09-15
alexc72
No

Hi,
I've been using your excellent grabber for a couple of
months now, everything was fine. But,
www.telemoustique.be has changed it's site structure
this week and the grabber doen't work anymore. I had a
look (with my basic html knowledge), and although the
frame layout is different. the "programs per channel"
pages used by the grabber don't seem to have changed,
so I'm was hoping you might be able to modify slightly
the existing code to make it work again.

Thanks in advance

Alex

Discussion

  • JC Francois

    JC Francois - 2005-09-24

    Logged In: YES
    user_id=882552

    I had a deeper look into this problem. So far, I found
    several changes in the URL structure:

    * The subdomain for the programme guide has been moved from
    'www' to 'epg'
    * an additional GET argument is required to access the
    channel list. That argument is called 'UID' and appears to
    be a 9 digit number. It is generated automatically by the
    CMS system as a session tracker I guess and can be extracted
    from an iframe in the container page:
    http://www.telemoustique.be/Content/homepage/programmestl/parchane/index.jsp
    To be fair, it seems that using any random 9 digit number
    works just as fine (but would confuse their usage tracking
    system...).
    * The date format in the URL changed as well. It used to be
    07/04/2005 (for US independance day) but now they only
    accept 7/4/2005. I don't know how to apply that formatting
    using the datetime2 module from pytvgrab though.

    There may be some more changes but this is as far as I got.

    den_RDC: are you planning on fixing these problems in the
    near future?

    Thanks,

    JC

     
  • den_RDC

    den_RDC - 2005-09-24

    Logged In: YES
    user_id=595667

    Hello
    I already received a patch for the UID problem and i'll have a
    look at the date problem tomorrow. I hope to have a new
    release up by the end of the week (sorry i can't do it sooner, but
    i recently had an accident and i am still recuperating from that).

    Regards
    den_RDC

     
  • den_RDC

    den_RDC - 2005-09-28

    Logged In: YES
    user_id=595667

    Here is a fixed version of tv_grab_be_tlm (it's a dropin
    replacement for v0.5.1). I could not find the error in the date
    format for the details pages, everything seems to work just fine,
    i double checked. If no other bugs creep up i'll relese this in the
    following days on the website.

    Mvg
    den_RDC

    (see attached file)

     
  • den_RDC

    den_RDC - 2005-09-28

    tv_grab_be_tlm 0.5.2 preliminary version

     
  • JC Francois

    JC Francois - 2005-09-28

    Logged In: YES
    user_id=882552

    Where can I find the file? There's a "(see attached file)"
    at the bottom of your message but there's no link...

    Thanks,

    JC

     

Log in to post a comment.