Kinopoisk.ru (Russian Movies) Scraper

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Thumbs Up  Kinopoisk.ru (Russian Movies) Scraper
Post: #1
[ATTACH]56[/ATTACH]

Kinopoisk.ru v2.008 (Russian)

List:
-Added fanart (screens and wallpapers).
-Added fanart from http://www.themoviedb.org (fix the).
-Added trailer from http://www.imdb.com.
-Added fanart from http://www.themoviedb.org +24 (fix the).

v2.008 - [ATTACH]60[/ATTACH]
Attached File(s)
.gif  KinoPoisk.gif (Size: 1.85 KB / Downloads: 587)
.zip  KinoPoisk.xml.zip (Size: 3.41 KB / Downloads: 474)
(This post was last modified: 2009-02-27 16:11 by hamp.)
find quote
Jim DiGriz Offline
Junior Member
Posts: 7
Joined: Feb 2009
Reputation: 0
Post: #2
Thanks!

Short question: does it pull the movie info from the URL in the info file like IMDB scrapper?

If not could you please build it in?
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #3
please use trac
find quote
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #4
Jim DiGriz where you from? Who is interesting - will soon make a normal fanart.
//Jim DiGriz ты от куда? Кому интересно - скоро сделаю нормальный фанарт.//
find quote
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Exclamation   
Post: #5
New version.
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #6
can you PLEASE submit a ticket on trac once you feel it is svn ready. i can't keep track of all these forum threads...
find quote
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #7
spiff Wrote:can you PLEASE submit a ticket on trac once you feel it is svn ready. i can't keep track of all these forum threads...

How?
find quote
Maxim Offline
Fan
Posts: 706
Joined: Sep 2004
Reputation: 0
Post: #8
http://trac.xbmc.org

Use your forum account to log in. Note: BOTH Login and Password are Case-Sensitive.
find quote
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #9
Code:
<span style="font-size:13px;color:#666">The ([^<]+)</span>
How to cut "the", when it is.
(This post was last modified: 2009-02-26 15:12 by hamp.)
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #10
you want to match whether or not the The is there?

Code:
<expression>&lt;span[^&gt*]&gt;(The )?([^&lt;]+)&lt;/span</expression>
find quote
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #11
Del "the".
The Dark Knight -> Dark Knight; Bolt-> Bolt.

Code:
            <RegExp conditional="fanart" input="$$8" output="&lt;url function=&quot;GMA&quot;&gt;http://themoviedb.org/search?search%5Btext%5D=\1&lt;/url&gt;" dest="5+">            
            <RegExp input="$$1" output="\1&lt;" dest="8">
                <expression>&lt;span style=&quot;font-size:13px;color:#666&quot;&gt;(The )?([^&lt;]+)&lt;/span&gt;</expression>
            </RegExp>
                <expression>The ([^&lt;]+)&lt;</expression>
            </RegExp>

Not work. http://wiki.xbmc.org/?title=Scrapers nothing.
(This post was last modified: 2009-02-26 15:55 by hamp.)
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #12
well, the expression is fine... your usage of it is wrong though.

Code:
<RegExp conditional="fanart" input="$$8" output="&lt;url function=&quot;GMA&quot;&gt;http://themoviedb.org/search?search%5Btext%5D=\1&lt;/url&gt;" dest="5+">            
    <RegExp input="$$1" output="\2" dest="8">
                <expression>&lt;span style=&quot;font-size:13px;color:#666&quot;&gt;(The )?([^&lt;]+)&lt;/span&gt;</expression>
            </RegExp>
            <expression/>
</RegExp>

your selection will be avail in buffer 2 since buffer 1 may or may not hold (The )
find quote
mkortstiege Offline
Team-XBMC Developer
Posts: 2,920
Joined: Jan 2008
Reputation: 8
Location: Germany
Post: #13
Is there a reason why you are doing normal web searches instead of using the themoviedb API? Using the API search should give better results and is much more fail safe.

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 quote
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #14
Because using themoviedb API xbmc strange hangs. Therefore had to choose the standart search.

Spiff Many thanks for help in refining.
find quote
GooglieS Offline
Junior Member
Posts: 8
Joined: Oct 2008
Reputation: 0
Post: #15
This script does not load any information/art from kinopoisk! Something is broken?
find quote
Post Reply