[RELEASE] KinoPoisk2 (Russian Movies) Scraper

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
ababak Offline
Junior Member
Posts: 8
Joined: Apr 2009
Reputation: 0
Location: Kiev, Ukraine
Thumbs Up  [RELEASE] KinoPoisk2 (Russian Movies) Scraper Post: #1
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!
(This post was last modified: 2009-04-14 00:57 by ababak.)
find
spiff Offline
Grumpy Bastard Developer
Posts: 12,179
Joined: Nov 2003
Reputation: 82
Post: #2
awesome for you russians Smile

one question though; what does that ServerEncoding tag do?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
diemos Offline
Senior Member
Posts: 178
Joined: Feb 2009
Reputation: 0
Post: #3
you are the man! spasibo balshoye. I was waiting for this.

Zemlyak, ya tozhe s Kieva teper v NY.

The Transforminators HD Movie Trailer
- from the creators of Terminator and Transformers -
find
ababak Offline
Junior Member
Posts: 8
Joined: Apr 2009
Reputation: 0
Location: Kiev, Ukraine
Post: #4
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)
find
spiff Offline
Grumpy Bastard Developer
Posts: 12,179
Joined: Nov 2003
Reputation: 82
Post: #5
i know that it must be a plex thing as i wrote the scraper parser and most of the surrounding code Smile

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
ababak Offline
Junior Member
Posts: 8
Joined: Apr 2009
Reputation: 0
Location: Kiev, Ukraine
Post: #6
By the way, does the parser handle server encoding returned in headers? It would be great to make scraper completely UTF-8
find
spiff Offline
Grumpy Bastard Developer
Posts: 12,179
Joined: Nov 2003
Reputation: 82
Post: #7
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

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2009-04-14 00:49 by spiff.)
find
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #8
When xbmc load info from the site, Kinopoisk.ru ban me about 30 minutes. Because of what? At the Plex this does not happen.
find
TigerHeart Offline
Junior Member
Posts: 11
Joined: Feb 2009
Reputation: 0
Sad  Scraper doesn't work Post: #9
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.
find
GooglieS Offline
Junior Member
Posts: 8
Joined: Oct 2008
Reputation: 0
Post: #10
This script does not load any information/art from kinopoisk! Something is broken?
//не работает! фильм из списка находит, но никакую инфу с кинопоиска не подгружает Sad Что делать?
find
Thread Closed