[Approved] [Russian] kinopoisk.ru (3 Viewers)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,456
    10,330
    Kyiv
    Home Country
    Ukraine Ukraine
    Есть мобильное апи, есть неофициальное, то, что несколько страниц ранее упоминалось
    Мобильное в целом закрыто, неофициальное вроде как раз с мобильного и берет данные.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,456
    10,330
    Kyiv
    Home Country
    Ukraine Ukraine
    Обратил внимание, что это происходит с определенными фильмами только. Был у меня МП 1.7. переставлял винду, поставил 1.11, и ровно у тех же фильмов облажка загружается прямо также криво пиксель-в-пиксель или не загружается вообще. Может дело в самих изображениях (размер, сжатие и т.д.), что их скрипт прожевать не может?
    Исправили в 1.16Пре https://issues.team-mediaportal.com/browse/MP1-4829 :) проверял, вроде все отлично! :)

    Дело было в размере :) ...
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,456
    10,330
    Kyiv
    Home Country
    Ukraine Ukraine
    На всякий случай:
    Граббер для 1.15 и выше/ниже и Граббер для 1.16Пре и выше (с поддержкой коллекций для фильмов) в аттаче ...

    PS: На сервере обновления МП сейчас версия для 1.16Пре, поэтому лучше не обновлять :) если установлена версия МП 1.15 или ниже, а если обновили то брать с этого сообщения. Т.к. работать скорее всего не будет.
     

    Attachments

    • kinopoisk.grabber.1.15.zip
      17.8 KB
    • kinopoisk.grabber.1.16.zip
      17.4 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,456
    10,330
    Kyiv
    Home Country
    Ukraine Ukraine
    Для 1.16Пре есть новый, с изменениями под изменения в ИМДБ, под 1.15 попробую запилить сегодня

    --
    WBR, Andrew J.Swan
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,456
    10,330
    Kyiv
    Home Country
    Ukraine Ukraine
    Вот ...
     

    Attachments

    • kinopoisk.grabber.1.16.zip
      17.6 KB
    • kinopoisk.grabber.1.15.zip
      17.6 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,456
    10,330
    Kyiv
    Home Country
    Ukraine Ukraine
    Типа из такого MPAA Description: Rated PG for sequences of intense action and some scary images, and brief mild language получить что то вменяемое на русском?
    Пробежал скриптом по своей БД:
    SQL:
    SELECT DISTINCT TRIM(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
                    word,'.',''),'a drug','drug'),'a rape','rape'),'a scene','scene'),'a sexual','sexual'),'brief',''),'for a ',''),'for an ',''),'for ',''),'some ',''),'mild ','')) AS WORDS FROM (
    WITH split(word, str, offsep) AS (
      VALUES('',
             TRIM((SELECT GROUP_CONCAT(COL,'|') FROM (SELECT DISTINCT REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(TRIM(LTRIM(
                                                        SUBSTR(strPlot,INSTR(strPlot,'MPAA')+6),':'))
                                                        ,',','|'),'and ','|'),' ',' '),'Rated ',' '),'PG ',' '),'G ',' '),'PG-13 ',' '),'NC-17 ',' '),'R ',' '),'  ',' ') AS COL
                                                      FROM movieinfo
                                                      WHERE [strPlot] LIKE "%MPAA%" AND INSTR(strPlot,'MPAA')>6)), '| '),
             1
      ) UNION ALL SELECT
            SUBSTR(str, 0, case when instr(str, '|') then instr(str, '|') else length(str)+1 end),
                   ltrim(substr(str, instr(str, '|')), '| '),
                   instr(str, '|')
            FROM split
            WHERE offsep
    ) SELECT word FROM split WHERE word!='') ORDER BY 1;
    Получил:
    Code:
    accident scene
    action
    action violence
    adventure action
    alcohol use - all involving teens
    bloody violence
    bloody violence throughout
    brutal medieval warfare
    brutal violence
    comic action
    crude humor
    crude sexual reference
    destruction
    dialogue throughout
    disaster sequence
    disturbing
    disturbing content involving preteens
    disturbing images
    disturbing material
    disturbing prisoner of war violence
    disturbing violent content including torture
    drug
    drug content
    drug material
    drug reference
    drug references
    drug use
    explicit sexual content
    extended
    fantasy action
    frightening images
    frightening moments
    gore
    graphic bloody violence
    graphic nudity
    graphic sexuality
    graphic violence
    grisly images
    heavy drug content
    historical smoking
    images of wounded
    including sex-related dialogue
    innuendo
    intense action
    intense action violence
    intense scenes of action violence
    intense sci-fi violence
    intense sequences of Western violence
    intense sequences of sci-fi action
    intense sequences of violence
    intense stylized action
    language
    language including sexual references
    language throughout
    lot of action/violence
    martial arts action
    mature thematic elements
    mature thematic elements including disturbing violent content
    mental torture/terror
    mildly scary action
    nudity
    nudity/sexuality
    on appeal sexuality/nudity
    partial nudity
    peril
    peril/ frightening images
    pervasive language
    prolonged intense disaster sequences
    rape
    related disturbing images
    rude humor
    scary action
    scary images
    scene of rape
    scene of sexuality
    scene of violent sexual content
    scenes of sexuality
    sci-fi action
    sci-fi action violence
    sensuality
    sequences of intense action
    sequences of intense mixed martial arts fighting
    sequences of intense sci-fi action
    sequences of martial arts action
    sequences of war violence
    sexual content
    sexual content including dialogue
    sexual content/nudity
    sexual images
    sexual material
    sexual reference
    sexual references
    sexuality
    sexuality/nudity
    smoking
    sports action
    strong bloody brutal violence
    strong bloody violence
    strong bloody violence throughout
    strong brutal stylized violence throughout
    strong brutal violence
    strong graphic sexual material
    strong language
    strong language including sexual references
    strong sexual content
    strong sexuality
    strong sexuality/nudity
    strong violence
    strong violence including sexual assault
    strong violence throughout
    strong war violence
    substance abuse
    suggestive
    suggestive content
    suggestive material
    sustained intense war sequences
    sustained strong stylized violence
    thematic elements
    thematic material
    thematic material including frightening sequences of threat with violence
    thematic material involving drug
    thematic material involving threatening behavior
    torture
    violence
    violence including disturbing images
    violence including intense sequences of warfare
    violence throughout
    violent
    violent content
    violent images
    violent situations
    war
    war violence including intense sequences of brutality
    По идее можно перевести и вставить в граббер ... :) будет на русском ...
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,456
    10,330
    Kyiv
    Home Country
    Ukraine Ukraine
    У нас прикрыли Кинопоиск, даже не знаю как теперь его обновлять и поддерживать ... думаю ...
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,955
    1,264
    Saratov
    Home Country
    Russian Federation Russian Federation
    Эх, он ведь Яндекс теперь...
    Вот ещё один минус от покупки Яндексом

    Отправлено с моего Redmi 3S через Tapatalk
     

    Users who are viewing this thread

    Top Bottom