diff options
author | vdrfan <vdrfan@svn> | 2010-02-22 23:14:33 +0000 |
---|---|---|
committer | vdrfan <vdrfan@svn> | 2010-02-22 23:14:33 +0000 |
commit | ed6bb410ab245cbfa4977c31f2ae16ffbdcafbfe (patch) | |
tree | b48ac85028cdbbaf82306cbb79213b8ed5fc1bfa /system/scrapers | |
parent | 1b52a0d509f39a67207e4670c5858bed721b46c3 (diff) |
changed: url nfo handling for german cinefacts.de movie scraper + indentation
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28058 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'system/scrapers')
-rw-r--r-- | system/scrapers/video/cinefacts.xml | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/system/scrapers/video/cinefacts.xml b/system/scrapers/video/cinefacts.xml index 9f48b2c84a..75b0c31735 100644 --- a/system/scrapers/video/cinefacts.xml +++ b/system/scrapers/video/cinefacts.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?> -<scraper framework="1.1" date="2009-07-28" name="Cinefacts.de" content="movies" thumb="cinefacts.png" language="de"> +<scraper framework="1.1" date="2010-02-22" name="Cinefacts.de" content="movies" thumb="cinefacts.png" language="de"> <include>common/tmdb.xml</include> <GetSettings dest="3"> <RegExp input="$$5" output="<settings>\1</settings>" dest="3"> @@ -9,17 +9,21 @@ <expression noclean="1"/> </RegExp> </GetSettings> - - <CreateSearchUrl dest="3" SearchStringEncoding="iso-8859-1"> + <NfoUrl dest="3"> + <RegExp input="$$1" output="<url>http://www.cinefacts.de/kino/\2.html</url>" dest="3"> + <expression clear="yes" noclean="1">(cinefacts.de/kino/)(.*).html</expression> + </RegExp> + </NfoUrl> + <CreateSearchUrl dest="3" SearchStringEncoding="iso-8859-1"> <RegExp input="$$1" output="http://www.cinefacts.de/suche/suche.php?name=\1" 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>\1</results>" dest="8"> - <RegExp input="$$1" output="<entity><title>\3 (\4)</title><url cache="film.xml" >http://www.cinefacts.de/kino/\1/\2/filmdetails.html</url></entity>" dest="5"> + <RegExp input="$$1" output="<entity><title>\3 (\4)</title><url cache="\1.xml" >http://www.cinefacts.de/kino/\1/\2/filmdetails.html</url></entity>" dest="5"> <expression repeat="yes">><a href="/kino/([0-9]*)/(.[^\/]*)/filmdetails.html">[^<]*<b title="([^"]*)" class="headline">[^<]+</b></a><br>[^<]+<br>+[^0-9]+([^<]*)</expression> - </RegExp> + </RegExp> <expression noclean="1"/> </RegExp> </GetSearchResults> @@ -40,7 +44,6 @@ <RegExp input="$$4" output="<genre>\1</genre>" dest="5+"> <expression repeat="yes" noclean="1" trim="1">>*[ A-Za-z]([^<>]*)</a></expression> </RegExp> - <!--Director Film--> <RegExp input="$$1" output="\1" dest="7+"> <expression noclean="1">Regie:([^:]*)Buch:</expression> @@ -83,9 +86,9 @@ <expression repeat="yes" ><a href="[^"]*">([^<]*)</a></expression> </RegExp> <!--Poster URL--> - <RegExp input="$$1" output="<url function="GetThumbnailLink">http://www.cinefacts.de/kino/film/\1/\2/plakate.html</url>" dest="5+"> - <expression repeat ="yes"><a href="/kino/film/([0-9]*)/([^\/]*)/plakate.html"></expression> - </RegExp> + <RegExp input="$$1" output="<url function="GetThumbnailLink">http://www.cinefacts.de/kino/film/\1/\2/plakate.html</url>" dest="5+"> + <expression repeat ="yes"><a href="/kino/film/([0-9]*)/([^\/]*)/plakate.html"></expression> + </RegExp> <!--IMDB URL--> <RegExp conditional="fanart" input="$$8" output="<url function="GetTMDBFanartById">http://www.google.com/search?q=site:imdb.com\1</url>" dest="5+"> <RegExp input="$$1" output=""\2"+\1+||+"\2"" dest="7"> @@ -100,19 +103,19 @@ </RegExp> </GetDetails> <!--Thumbnail--> - <GetThumbnailLink dest="5"> - <RegExp input="$$2" output="<details>\1</details>" dest="5+"> - <RegExp input="$$1" output="<url function="GetThumbnail">http://www.cinefacts.de/kino/film/\1</url>" dest="2+"> - <expression repeat="yes" noclean="1"><a href="/kino/film/([^"]+)">[^<]*<img</expression> - </RegExp> - <expression noclean="1"/> - </RegExp> - </GetThumbnailLink> + <GetThumbnailLink dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5+"> + <RegExp input="$$1" output="<url function="GetThumbnail">http://www.cinefacts.de/kino/film/\1</url>" dest="2+"> + <expression repeat="yes" noclean="1"><a href="/kino/film/([^"]+)">[^<]*<img</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetThumbnailLink> <GetThumbnail dest="5"> <RegExp input="$$2" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="<thumb>http://www.cinefacts.de/kino/plakat/\1</thumb>" dest="2+"> - <expression>src="/kino/plakat/([^"]*)"</expression> - </RegExp> + <expression>src="/kino/plakat/([^"]*)"</expression> + </RegExp> <expression noclean="1"/> </RegExp> </GetThumbnail> |