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
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
Grumpy Bastard Developer
Posts: 12,181
Joined: Nov 2003
Reputation: 82
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 )

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
vdrfan Offline
Team-XBMC Developer
Posts: 2,787
Joined: Jan 2008
Reputation: 7
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
vlavrinenko Offline
Junior Member
Posts: 12
Joined: Jul 2009
Reputation: 0
Post: #16
Seems that kinopoisk.ru changed some internal layout details. As long as author still does not respond, I've made some modifications to scraper myself. I don't see if I can attach a file, so you can just get it here: ftp://lvu.kiev.ua/KinoPoisk.xml. Maybe author will want to incorporate these changes to his scraper.

I've tried to fix tmdb fanart scraping, but it works very poorly.
find quote
vovanprod Offline
Junior Member
Posts: 4
Joined: Sep 2009
Reputation: 0
Post: #17
Похоже с Кинопоиском все конкретно заглохло... А так хотелось-бы.....
find quote
Tossik Offline
Junior Member
Posts: 18
Joined: Nov 2009
Reputation: 0
Post: #18
yes can someone please make it work!!!! please!!!!
find quote
breguet Offline
Junior Member
Posts: 2
Joined: Apr 2009
Reputation: 0
Post: #19
-
(This post was last modified: 2009-11-30 11:01 by Haggy.)
find quote
akara Offline
Junior Member
Posts: 3
Joined: Sep 2009
Reputation: 0
Post: #20
I've completely re-worked this scraper.. works fine for me..
you can get it here: http://video.m3x.org/KinoPoisk.xml
find quote