Kodi Community Forum
[RELEASE] KinoPoisk2 (Russian Movies) Scraper - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Information Providers (scrapers) (https://forum.kodi.tv/forumdisplay.php?fid=147)
+----- Forum: Movie Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=302)
+----- Thread: [RELEASE] KinoPoisk2 (Russian Movies) Scraper (/showthread.php?tid=48844)

Pages: 1 2 3


[RELEASE] KinoPoisk2 (Russian Movies) Scraper - ababak - 2009-04-13

Hi,

Let me present another KinoPoisk.ru scraper. It's a completely re-worked scraper Kinopoisk.ru with following features:
  • Optimized regexps
  • Low-res cover if no poster present (really helpful on some old movies)
  • Artists' roles
  • Can fetch movie stills fanart, wallpapers fanart, or both
  • Fixed incorrect parsing of outline/plot


Download version 1.0 of KinoPoisk2 from here:
http://files.me.com/andrey_babak/gtxbcl

P.S. I'd like to thank spiff for his help!


- spiff - 2009-04-13

awesome for you russians Smile

one question though; what does that ServerEncoding tag do?


- diemos - 2009-04-13

you are the man! spasibo balshoye. I was waiting for this.

Zemlyak, ya tozhe s Kieva teper v NY.


- ababak - 2009-04-14

spiff Wrote:awesome for you russians Smile

one question though; what does that ServerEncoding tag do?

I didn't check the source of the parser but as far as I can tell looking at the original scraper, it defines how the external URLs are parsed. Maybe it just does nothing though ;-) (or works in Plex only)


- spiff - 2009-04-14

i know that it must be a plex thing as i wrote the scraper parser and most of the surrounding code Smile


- ababak - 2009-04-14

By the way, does the parser handle server encoding returned in headers? It would be great to make scraper completely UTF-8


- spiff - 2009-04-14

scraper code does honor the encoding you set on the returned xml.

i guess the ServerContentEncoding is used to convert the html pages to utf-8 prior to passing them to the scrapers. i will dig in the plex git

edit: dug a bit. it's nonsense from the plex devs. the servercontentencoding is just a dupe of the encoding set on the returned xml


- hamp - 2009-05-14

When xbmc load info from the site, Kinopoisk.ru ban me about 30 minutes. Because of what? At the Plex this does not happen.


Scraper doesn't work - TigerHeart - 2009-05-14

I try to get info about the movie Butterfly effect (I type movie name in russian - "Эффект бабочки"). But the scraper returns me next list of movies:
==============
Интервью с вампиром
Сделка с дьяволом
Мадагаскар 2
Ирония судьбы. Продолжение.
Загадочная история Бенджамина Баттона
Суини Тодд,демон+парикмахер с Флит-стрит
==============
And I see the same list every time when I try to get info about any movie. Whats wrong?
Thanks.
PS. I made the screenshots, but I can't understand how to attach them here. But I can send them to anyone by e-mail.


- GooglieS - 2009-05-14

This script does not load any information/art from kinopoisk! Something is broken?
//не работает! фильм из списка находит, но никакую инфу с кинопоиска не подгружает Sad Что делать?


- hamp - 2009-05-14

Попытки исправить пока, что нулевые. Вот ждем гуру создателей хбмс. Исправлено только для Plex - ссылка на форум. И очень интересная заметка - бан на самом кинопоиске по ип. И точно так же, как и у TigerHeart.


- GooglieS - 2009-05-14

Как банит? Меня хттп не банит!


- TigerHeart - 2009-05-15

Please, return the old version!!! We don't need your version 2!!! Nobody need it. It doesn't work at all!!! Version 1 is the best!!!


- TigerHeart - 2009-05-15

Eng: Does anybody know where I can download the old wersion of kinopoisk.xml?

Rus: Кто-нибудь знает откуда можно скачать старую версию файла kinopoisk.xml?


- hamp - 2009-05-15

TigerHeart Wrote:Eng: Does anybody know where I can download the old wersion of kinopoisk.xml?

Rus: Кто-нибудь знает откуда можно скачать старую версию файла kinopoisk.xml?

kinopoisk.xm work fine. But ScraperParser.cpp not work.
Дело не в кинопоиске, а в скрипте, обрабатывающего этот скрапер. Именно в ScraperParser.cpp


Вот его история - http://trac.xbmc.org/log/branches/linuxport/XBMC/xbmc/utils/ScraperParser.cpp?rev=10815

Вот попробуйте этот - Если работает, то пишите сюда. [ATTACH]86[/ATTACH]