WebEPG для TV-server`а | Page 4

Discussion in 'Дополнения' started by Estranged, February 18, 2015.

  1. ivanxmac

    ivanxmac Portal Member

    Joined:
    August 28, 2015
    Messages:
    23
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 3
    Home Country:
    Russian Federation Russian Federation
    Сейчас составляю под Яндекс граббер. Потом займусь всетв. А может кто-то, кто имеет уже опыт настройки граббера, раньше сделает...


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Vasilich
    • Team MediaPortal

    Vasilich Test Group

    Joined:
    August 30, 2009
    Messages:
    3,390
    Likes Received:
    608
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Germany, Mayence
    Ratings:
    +1,172 / 2
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    именно это я и искал, чтолько что-то сразу не нашёл.
    @ivanxmac пробуй работает или нет (мы на работе, проверить не на чем)
    Code (XML):
    1. <Actions>
    2.    <Modify action="Replace" field="#START" search="&lt;b class=f3&gt;&lt;/b&gt;" channel="*">0</Modify>
    3.    <Modify action="Replace" field="#START" search="&lt;b class=g4&gt;&lt;/b&gt;" channel="*">1</Modify>
    4.    <Modify action="Replace" field="#START" search="&lt;b class=k5&gt;&lt;/b&gt;" channel="*">5</Modify>
    5. </Actions>
    моих каналов на яндексе вообще нет...
     
    Last edited: September 9, 2016
    • Agree Agree x 1
  4. ivanxmac

    ivanxmac Portal Member

    Joined:
    August 28, 2015
    Messages:
    23
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 3
    Home Country:
    Russian Federation Russian Federation
    Пробую добавить эти поля, при сохранении выдает ошибку парсинга extra content at the end of the document. В таком виде тоже ошибка:
    Code (Text):
    1. <Modify channel="*" field="#START" search="<b class=f3></b>" action="Replace">&#48;</Modify>
    2.     <Modify channel="*" field="#START" search="<b class=g4></b>" action="Replace">&#49;</Modify>
    3.     <Modify channel="*" field="#START" search="<b class=k5></b>" action="Replace">&#53;</Modify>
     
  5. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,702
    Likes Received:
    2,689
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,654 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Добавлено с Action перед </Grabber> ?
     
  6. ivanxmac

    ivanxmac Portal Member

    Joined:
    August 28, 2015
    Messages:
    23
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 3
    Home Country:
    Russian Federation Russian Federation
    Да, в блок Action. В начало блока вставлял, и в конец, после всех экшнов, результат один и тот же. Вставляю через Notepad++ c плагином XML.
     
  7. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,702
    Likes Received:
    2,689
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,654 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    А приаттачте файлик ... может там что то не то?
     
  8. ivanxmac

    ivanxmac Portal Member

    Joined:
    August 28, 2015
    Messages:
    23
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 3
    Home Country:
    Russian Federation Russian Federation
    Вот.
     

    Attached Files:

  9. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,702
    Likes Received:
    2,689
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,654 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Code (Text):
    1. This page contains the following errors:
    2.  
    3. error on line 912 at column 45: Unescaped '<' not allowed in attributes values
     
  10. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,702
    Likes Received:
    2,689
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,654 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    @ivanxmac
    Можно вот так попробовать:
    Code (XML):
    1.     <Modify channel="*" field="#START" search="&lt;b class=f3&gt;&lt;/b&gt;" action="Replace">0</Modify>
    2.     <Modify channel="*" field="#START" search="&lt;b class=g4&gt;&lt;/b&gt;" action="Replace">1</Modify>
    3.     <Modify channel="*" field="#START" search="&lt;b class=k5&gt;&lt;/b&gt;" action="Replace">5</Modify>
     

    Attached Files:

    • Thank You! Thank You! x 1
  11. ivanxmac

    ivanxmac Portal Member

    Joined:
    August 28, 2015
    Messages:
    23
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 3
    Home Country:
    Russian Federation Russian Federation
    Вставилось. Но не забирает программу. Нужно еще настройки парсинга поменять, со старыми он, похоже, не понимает, что есть что. Попробовал свой вариант с Яндексом, забирает программу, правда, пока без описаний, только время и название передачи. Сечас попробую с другими параметрами парсить всетв.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!