Kodi Community Forum
Kinopoisk.ru (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: Kinopoisk.ru (Russian Movies) Scraper (/showthread.php?tid=45404)

Pages: 1 2 3 4


Kinopoisk.ru (Russian Movies) Scraper - hamp - 2009-02-12

[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]



- Jim DiGriz - 2009-02-19

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?


- spiff - 2009-02-19

please use trac


- hamp - 2009-02-22

Jim DiGriz where you from? Who is interesting - will soon make a normal fanart.
//Jim DiGriz ты от куда? Кому интересно - скоро сделаю нормальный фанарт.//


- hamp - 2009-02-25

New version.


- spiff - 2009-02-25

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...


- hamp - 2009-02-26

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?


- Maxim - 2009-02-26

http://trac.xbmc.org

Use your forum account to log in. Note: BOTH Login and Password are Case-Sensitive.


- hamp - 2009-02-26

Code:
<span style="font-size:13px;color:#666">The ([^<]+)</span>
How to cut "the", when it is.


- spiff - 2009-02-26

you want to match whether or not the The is there?

Code:
<expression>&lt;span[^&gt*]&gt;(The )?([^&lt;]+)&lt;/span</expression>



- hamp - 2009-02-26

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.


- spiff - 2009-02-26

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 )


- mkortstiege - 2009-02-26

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.


- hamp - 2009-02-27

Because using themoviedb API xbmc strange hangs. Therefore had to choose the standart search.

Spiff Many thanks for help in refining.



- GooglieS - 2009-05-14

This script does not load any information/art from kinopoisk! Something is broken?