Menu

#17 First version of a Russian grabber (corrected)

closed-out-of-date
nobody
New Grabber (1)
5
2010-12-09
2005-04-19
No

This is version 0.1. It still lacks some features
(icons, gettext), but it already works and will be
updated.

Discussion

  • Vyacheslav Dikonov

    Logged In: YES
    user_id=889173

    This grabber was updated to ver.0.3. I would like to see it
    in the CVS and future releases.

     
  • Vyacheslav Dikonov

    Logged In: YES
    user_id=889173

    And the channel_ids file.

     
  • Nobody/Anonymous

    Logged In: NO

    hi, i have tryed it, but it,s not working:

    When configure it:
    SteelRatS:/usr/bin# tv_grab_ru4 --local /tmp/TV.zip --configure
    ..
    Use of uninitialized value in substitution (s///) at
    /usr/bin/tv_grab_ru4 line 622.
    Use of uninitialized value in hash element at
    /usr/bin/tv_grab_ru4 line 625.
    ..
    finishing:
    ..
    XXL yes
    Wide character in print at
    /usr/share/perl5/XMLTV/Ask/Term.pm line 205, <STDIN> line 2.
    &#1087;&#1087;&#9569;&#1087;&#9571;&#1087;&#9573;&#1087;&#9570;&#1087;&#9567; yes
    Finished configuration.

    (this is done like that for all channels)

    When i try grab:
    SteelRatS:/usr/bin# tv_grab_ru4 --local /tmp/TV.zip

    many errors like this:
    Use of uninitialized value in concatenation (.) or string at
    /usr/bin/tv_grab_ru4 line 570.
    Wide character in print at
    /usr/share/perl5/XMLTV/Ask/Term.pm line 223.
    Warning: Broken file format for "channel" ! No date info
    found for programmes "02:00 &#1087;&#1087;&#9553;&#1087;&#9554;&#1087;&#9552;&#1087;&#1087;&#9553;&#1087;&#9565;&#1087;&#1087;&#1087;&#9554;&#1087;&#1087;&#9562;&#1087; &#1087;&#9553;&#1087;&#1087;&#9552;&#1087;&#1087;&#1087;.
    "&#1087;&#9559;&#1087;&#1087;&#9556;&#1087;&#1087;&#1087;&#9554;&#1087;&#1087;&#9553;&#1087;&#9554;". 2004 &#1087;&#1025;. 5 &#1103;."
    Use of uninitialized value in concatenation (.) or string at
    /usr/bin/tv_grab_ru4 line 570.
    Wide character in print at
    /usr/share/perl5/XMLTV/Ask/Term.pm line 223.
    Warning: Broken file format for "channel" ! No date info
    found for programmes "03:00 &#1087;&#1087;&#9552;&#1087;&#1087;&#1087;&#1087;&#9565;&#1087;&#9558;&#1087;&#1087;&#1087;&#9558;&#1087;&#1087;&#9553;&#1087;&#1087;&#1087; &#1087;&#9553;&#1087;&#1087;&#9552;&#1087;&#1087;&#1087;.
    "&#1087;&#9553;&#1087;&#9562;&#1087;&#9560;&#1087;&#1087;&#1087; - 4". 2005 &#1087;&#1025;. 12 &#1103;."
    Use of uninitialized value in substitution (s///) at
    /usr/bin/tv_grab_ru4 line 622.
    Use of uninitialized value in hash element at
    /usr/bin/tv_grab_ru4 line 625.

     
  • Nobody/Anonymous

    Logged In: NO

    hi, i have tryed it, but it,s not working:

    When configure it:
    SteelRatS:/usr/bin# tv_grab_ru4 --local /tmp/TV.zip --configure
    ..
    Use of uninitialized value in substitution (s///) at
    /usr/bin/tv_grab_ru4 line 622.
    Use of uninitialized value in hash element at
    /usr/bin/tv_grab_ru4 line 625.
    ..
    finishing:
    ..
    XXL yes
    Wide character in print at
    /usr/share/perl5/XMLTV/Ask/Term.pm line 205, <STDIN> line 2.
    &#1087;&#1087;&#9569;&#1087;&#9571;&#1087;&#9573;&#1087;&#9570;&#1087;&#9567; yes
    Finished configuration.

    (this is done like that for all channels)

    When i try grab:
    SteelRatS:/usr/bin# tv_grab_ru4 --local /tmp/TV.zip

    many errors like this:
    Use of uninitialized value in concatenation (.) or string at
    /usr/bin/tv_grab_ru4 line 570.
    Wide character in print at
    /usr/share/perl5/XMLTV/Ask/Term.pm line 223.
    Warning: Broken file format for "channel" ! No date info
    found for programmes "02:00 &#1087;&#1087;&#9553;&#1087;&#9554;&#1087;&#9552;&#1087;&#1087;&#9553;&#1087;&#9565;&#1087;&#1087;&#1087;&#9554;&#1087;&#1087;&#9562;&#1087; &#1087;&#9553;&#1087;&#1087;&#9552;&#1087;&#1087;&#1087;.
    "&#1087;&#9559;&#1087;&#1087;&#9556;&#1087;&#1087;&#1087;&#9554;&#1087;&#1087;&#9553;&#1087;&#9554;". 2004 &#1087;&#1025;. 5 &#1103;."
    Use of uninitialized value in concatenation (.) or string at
    /usr/bin/tv_grab_ru4 line 570.
    Wide character in print at
    /usr/share/perl5/XMLTV/Ask/Term.pm line 223.
    Warning: Broken file format for "channel" ! No date info
    found for programmes "03:00 &#1087;&#1087;&#9552;&#1087;&#1087;&#1087;&#1087;&#9565;&#1087;&#9558;&#1087;&#1087;&#1087;&#9558;&#1087;&#1087;&#9553;&#1087;&#1087;&#1087; &#1087;&#9553;&#1087;&#1087;&#9552;&#1087;&#1087;&#1087;.
    "&#1087;&#9553;&#1087;&#9562;&#1087;&#9560;&#1087;&#1087;&#1087; - 4". 2005 &#1087;&#1025;. 12 &#1103;."
    Use of uninitialized value in substitution (s///) at
    /usr/bin/tv_grab_ru4 line 622.
    Use of uninitialized value in hash element at
    /usr/bin/tv_grab_ru4 line 625.

     
  • Vyacheslav Dikonov

    Logged In: YES
    user_id=889173

    Thank you for the feedback. I'm currently working on ver 0.5
    which should be more robust while parsing files that
    slightly deviate from the expected format and will support
    more sources.

    Bug 1 (Use of uninitialized value): I'll have to look into
    it specialy. This usually means that some part of the
    listings is malformed. It did not occur with listings prior
    to 28th of May.

    Further data updates can be downloaded from
    http://www.free-x.de/teleweb. I use tvlist.zip as it is
    going to be updated in the first turn.

    Bug 2 (Wide character in print) It is not a bug. Such
    messages are perfectly normal if your system is
    misconfigured. You'll have either to use UTF8 as system
    encoding or use one of the common Russian locales
    (ru_RU.KOI8-R, ru_RU.CP1251, etc). Be shure to check your
    LANG and LC_* variables.

    If you use C or non-cyrillic codepage the grabber must
    output Unicode wide chars as there is no other way to encode
    Russian text in your system (otherwise you would get
    sometning like "??? ?? ????? ??? ??? "). Alternatively you
    can try "--configure --gui" to see the channel names.

     
  • Vyacheslav Dikonov

    Logged In: YES
    user_id=889173

    Anyway the current grabber 0.4/0.4.2 does produce XML
    despite warning messages.

     
  • Nobody/Anonymous

    Logged In: NO

    Hi, with new grabber/tv archive file all work fine!
    Thanks.

     
  • Vyacheslav Dikonov

    Updated version (better id selection)

     
  • Vyacheslav Dikonov

    channel names and IDs map

     
  • Vyacheslav Dikonov

    Logged In: YES
    user_id=889173

    Small update and bugfixes. Source-independent XMLTV ID
    selection.

     
  • Nick Morrott

    Nick Morrott - 2010-03-09
    • labels: --> New Grabber
     
  • Robert Eden

    Robert Eden - 2010-09-04

    sdiconov you still out there? Does this code still work? Normally new grabbers are discussed on the xmltv-dev list not via a patch.

    if the grabber does work, what's the legal status? Are there any objections on the site against scrapers?

     
  • Karl Dietz

    Karl Dietz - 2010-12-09
    • status: open --> closed-out-of-date
     
  • Karl Dietz

    Karl Dietz - 2010-12-09

    I'm closing this due to 3 months without reply and an alternative being available at http://www.teleguide.info/article1.html.
    Anybody up for wrapping that xmltv file into a grabber?