diff options
author | spiff_ <spiff_@svn> | 2010-01-24 15:19:24 +0000 |
---|---|---|
committer | spiff_ <spiff_@svn> | 2010-01-24 15:19:24 +0000 |
commit | e5bacfc9e932125424323b60d8f149e579bc4c58 (patch) | |
tree | 8f7e9bdcfa3d50f902e2ba777167398d45966335 /system | |
parent | 412de7d8f41ff0124e826726a267063235810074 (diff) |
added: filmbasen movie scraper (norwegian). only briefly tested, feedback appreciated. the gfx is just a horrible hack until i can nag someone who knows what they are doing into helping me ;)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27138 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'system')
-rw-r--r-- | system/scrapers/video/filmbasen.png | bin | 0 -> 2447 bytes | |||
-rw-r--r-- | system/scrapers/video/filmbasen.xml | 89 |
2 files changed, 89 insertions, 0 deletions
diff --git a/system/scrapers/video/filmbasen.png b/system/scrapers/video/filmbasen.png Binary files differnew file mode 100644 index 0000000000..dd9746d8ba --- /dev/null +++ b/system/scrapers/video/filmbasen.png diff --git a/system/scrapers/video/filmbasen.xml b/system/scrapers/video/filmbasen.xml new file mode 100644 index 0000000000..369e5031df --- /dev/null +++ b/system/scrapers/video/filmbasen.xml @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<scraper framework="1.1" date="2010-01-24" name="Filmbasen" content="movies" thumb="filmbasen.png" language="no"> + <include>common/tmdb.xml</include> +<!-- <GetSettings dest="3">--> +<!-- <RegExp input="$$5" output="<settings>\1</settings>" dest="3">--> +<!-- <RegExp input="$$1" output="<setting label="Enable Fanart" type="bool" id="fanart" default="true"></setting>" dest="5+">--> +<!-- <expression/>--> +<!-- </RegExp>--> +<!-- <expression noclean="1"/>--> +<!-- </RegExp>--> +<!-- </GetSettings>--> + <NfoUrl dest="3"> + <RegExp input="$$1" output="<url>\1</url>" dest="3"> + <expression clear="yes" noclean="1">(http://www.dagbladet.no/film/*)</expression> + </RegExp> + </NfoUrl> + <CreateSearchUrl dest="3"> + <RegExp input="$$1" output="<url>http://www.dagbladet.no/altomfilm/find.php?string=\1&type=film</url>" dest="3"> + <expression noclean="1"/> + </RegExp> + </CreateSearchUrl> + <GetSearchResults dest="8"> + <RegExp input="$$5" output="<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><results sorted="yes">\1</results>" dest="8"> + <RegExp input="$$1" output="<entity><title>\3</title><url cache="\2.html">http://www.dagbladet.no\1</url><id>\2</id><year>\4</year></entity>" dest="5+"> + <expression repeat="yes" noclean="1"><a href='(/film/film/\?id=([0-9]+))'><b>([^<]*)</b></a>[^<]*?([0-9]+)<</expression> + </RegExp> + <RegExp input="$$1" output="\2" dest="2"> + <expression noclean="1"><h1 class="guardian( title)?"[^>]*?>([^<]*?)<</expression> + </RegExp> + <RegExp input="$$1" output="<entity><title>$$2</title><url cache="\1.html">http://www.dagbladet.no/film/film/?id=\1</url><id>\1</id></entity>" dest="5+"> + <expression noclean="1">javascript:throwDice\(([^,]*?),</expression> + </RegExp> + <expression clear="yes" noclean="1"/> + </RegExp> + </GetSearchResults> + <GetDetails dest="3"> + <RegExp input="$$5" output="<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><details>\1</details>" dest="3"> + <RegExp input="$$1" output="<title>\2</title>" dest="5"> + <expression noclean="1"><h1 class="guardian( title)?"[^>]*?>([^<]*?)<</expression> + </RegExp> + <RegExp input="$$1" output="<originaltitle>\1</originaltitle>" dest="5+"> + <expression noclean="1">Originaltittel:</h5>([^<]*?)</li</expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="4"> + <expression>Premiere.r:</h5>([^<]*?)</li</expression> + </RegExp> + <RegExp input="$$1" output="<url function="GetTMDBThumbsById">http://www.google.com/search?q=\1+%20($$4)+site:imdb.com</url>" dest="5+"> + <expression noclean="1" encode="1">Originaltittel:</h5>([^<]*?)</li</expression> + </RegExp> + <RegExp input="$$1" output="<url function="GetTMDBFanartById">http://www.google.com/search?q=\1+%20($$4)+site:imdb.com</url>" dest="5+"> + <expression noclean="1" encode="1">Originaltittel:</h5>([^<]*?)</li</expression> + </RegExp> + <RegExp input="$$1" output="<mpaa>\1</mpaa>" dest="5+"> + <expression>Aldersgrense:</h5>([0-9]+)</expression> + </RegExp> + <RegExp input="$$1" output="<year>\1</year>" dest="5+"> + <expression>Premiere.r:</h5>([^<]*?)</li</expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="4"> + <expression noclean="1">Kategori\(er\):</h5>([^<]*?)</li</expression> + </RegExp> + <RegExp input="$$4" output="<genre>\1</genre>" dest="5+"> + <expression repeat="yes" noclean="1">([^,]*?), ?</expression> + </RegExp> + <RegExp input="$$1" output="<plot>\1</plot>" dest="5+"> + <expression>OM FILMEN: (.*?)</div></expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="4"> + <expression noclean="1">Skuespillere</h2(.*?)</ul></expression> + </RegExp> + <RegExp input="$$4" output="<actor><name>\1</name><role>\3</role></actor>" dest="5+"> + <expression repeat="yes" noclean="1"><a href="[^>]*?>([^<]*?)</a><br>( - ([^<]*))?<</expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="4"> + <expression clear="yes" noclean="1">Regi:</h5>(.*?)</li</expression> + </RegExp> + <RegExp input="$$4" output="<credits>\1</credits>" dest="5+"> + <expression repeat="yes" noclean="1">a href=[^>]*?>([^<]*)<</expression> + </RegExp> + <RegExp input="$$1" output="<votes>\1</votes>" dest="5+"> + <expression>votesAverage">([0-9]+)<</expression> + </RegExp> + <RegExp input="$$1" output="<rating>\1</rating>" dest="5+"> + <expression>Lesernes terningkast.*?javascript:throwDice\([^,]*?,[^,]*?,(.*?)\)</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetDetails> +</scraper> |