diff options
Diffstat (limited to 'system/scrapers/video/ofdb.xml')
-rw-r--r-- | system/scrapers/video/ofdb.xml | 148 |
1 files changed, 59 insertions, 89 deletions
diff --git a/system/scrapers/video/ofdb.xml b/system/scrapers/video/ofdb.xml index 96da60f805..7a3a7c02e8 100644 --- a/system/scrapers/video/ofdb.xml +++ b/system/scrapers/video/ofdb.xml @@ -5,21 +5,20 @@ <GetSettings dest="3"> <RegExp input="$$5" output="<settings>\1</settings>" dest="3"> <RegExp input="$$1" output="<setting label="Fanart" type="bool" id="fanart" default="true"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> <RegExp input="$$1" output="<setting label="MoviePosterDB" type="bool" id="movieposterdb" default="false"></setting>" dest="5+"> <expression /> </RegExp> - <RegExp input="$$1" output="<setting label="Trailer" type="bool" id="trailer" default="true"></setting>" dest="5+"> - <expression></expression> - </RegExp> + <RegExp input="$$1" output="<setting label="Trailer" type="bool" id="trailer" default="true"></setting>" dest="5+"> + <expression/> + </RegExp> <RegExp input="$$1" output="<setting label="Groesse der Darsteller Bilder" type="labelenum" values="192|256|384|512|1024" id="imdbscale" default="512"></setting>" dest="5+"> - <expression></expression> + <expression/> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> </GetSettings> - <NfoUrl dest="3"> <RegExp input="$$1" output="<url>\1\2,\3</url>" dest="3"> <expression clear="yes" noclean="1">(http://www.ofdb.de/film/)([0-9]*),(.*)</expression> @@ -28,53 +27,46 @@ <expression>(imdb.com/)Title\?([0-9]+)</expression> </RegExp> <RegExp input="$$1" output="<url function="GetByIMDBId">http://www.ofdb.de/view.php?SText=\2&amp;Kat=IMDb&amp;page=suchergebnis&amp;sourceid=mozilla-search</url>" dest="3+"> - <expression>(imdb.com/title/tt)([0-9]*)</expression> - </RegExp> + <expression>(imdb.com/title/tt)([0-9]*)</expression> + </RegExp> </NfoUrl> - <GetByIMDBId dest="3"> <RegExp input="$$1" output="<url>http://www.ofdb.de/film/\1,</url><id>\1</id>" dest="3+"> <expression repeat="yes" noclean="1">"film/([0-9]*),</expression> </RegExp> </GetByIMDBId> - - <CreateSearchUrl dest="3"> <RegExp input="$$1" output="http://www.ofdb.de/view.php?SText=\1&Kat=Titel&page=suchergebnis&sourceid=mozilla-search" dest="3"> <expression noclean="1">([^\(]+)</expression> </RegExp> </CreateSearchUrl> - <GetSearchResults dest="8"> <RegExp input="$$5" output="<?xml version="1.0" encoding="utf-8" standalone="yes"?><results>\1</results>" dest="8"> <RegExp input="$$1" output="<entity><title>\2 (\4) | \3</title><year>\4</year><url cache="\1.html">http://www.ofdb.de/film/\1,</url><id>\1</id></entity>" dest="5+"> <expression repeat="yes" noclean="1"><a href=.[^0-9]+([0-9]+)[^ ]+ onmouseover=.Tip..<[^>]+>[^>]+>([^<]+)<font size=.1.> . ([^<]+)</font> \(([0-9]+)\)</a></expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> </GetSearchResults> - - <GetDetails dest="3"> - <RegExp input="$$5" output="<?xml version="1.0" encoding="utf-8" standalone="yes"?><details>\1</details>" dest="3"> - <!--Title --> - <RegExp input="$$6" output="\1" dest="5+"> - <RegExp input="$$1" output="<title>\1</title>" dest="6"> - <expression trim="1"><td width="99."><h2><font face="Arial,Helvetica,sans-serif" size="3"><b>([^<]+)</b></font></h2></td></expression> - </RegExp> - <RegExp input="$$7" output="<title>\2 \1</title>" dest="6"> - <RegExp input="$$1" output="\1" dest="7"> + <GetDetails dest="3"> + <RegExp input="$$5" output="<?xml version="1.0" encoding="utf-8" standalone="yes"?><details>\1</details>" dest="3"> + <!--Title --> + <RegExp input="$$6" output="\1" dest="5+"> + <RegExp input="$$1" output="<title>\1</title>" dest="6"> + <expression trim="1"><td width="99."><h2><font face="Arial,Helvetica,sans-serif" size="3"><b>([^<]+)</b></font></h2></td></expression> + </RegExp> + <RegExp input="$$7" output="<title>\2 \1</title>" dest="6"> + <RegExp input="$$1" output="\1" dest="7"> <expression trim="1"><td width="99."><h2><font face="Arial,Helvetica,sans-serif" size="3"><b>([^<]+)</b></font></h2></td></expression> </RegExp> <expression>(.*), (Die|Der|Das|The)</expression> - </RegExp> - <expression noclean="1"></expression> - </RegExp> - + </RegExp> + <expression noclean="1"/> + </RegExp> <!--Original Title --> <RegExp input="$$1" output="\1" dest="8"> <expression noclean="1">class="Normal">Originaltitel(.*)class="Normal">Herstellungsland</expression> </RegExp> - <RegExp input="$$7" output="\1" dest="5+"> <RegExp input="$$8" output="<originaltitle>\1</originaltitle>" dest="7"> <expression><b>([^>]+)</b></expression> @@ -85,14 +77,12 @@ </RegExp> <expression>(.*), (Die|Der|Das|The)</expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> - <!--Year --> <RegExp input="$$1" output="<year>\1</year>" dest="5+"> <expression>view.php\?page=blaettern&Kat=Jahr&Text=([0-9]+)</expression> </RegExp> - <!--Director--> <RegExp input="$$9" output="<director>\1</director>" dest="5+"> <RegExp input="$$1" output="\1" dest="9"> @@ -100,78 +90,63 @@ </RegExp> <expression repeat="yes">Name=[^>]*>([^<]+)</expression> </RegExp> - <!--Plot outline --> <RegExp input="$$1" output="<outline>\1</outline><plot>\1</plot>" dest="5+"> <expression><b>Inhalt:</b>([^<]+)</expression> </RegExp> - <!--Genre--> <RegExp input="$$1" output="<genre>\1</genre>" dest="5+"> <expression repeat="yes">view.php\?page=genre&Genre=[^"]+">([^<]*)<</expression> </RegExp> - <!--Rating--> <RegExp input="$$1" output="<rating>\1</rating>" dest="5+"> <expression>Note: ([0-9\.]+)</expression> </RegExp> - <!--Votes--> <RegExp input="$$1" output="<votes>\1</votes>" dest="5+"> <expression>Stimmen: ([0-9]+)</expression> </RegExp> - <RegExp input="$$1" output="<mpaa>\1</mpaa>" dest="5+"> <expression>Freigabe: ([^"]*)"</expression> </RegExp> - <RegExp input="$$1" output="<id>\2</id>" dest="5+"> <expression>(imdb.com/)Title\?([0-9]+)</expression> </RegExp> - <!--URL to Plot --> <RegExp input="$$1" output="<url function="Inhaltsangabe">http://www.ofdb.de/plot/\1,\2,</url>" dest="5+"> <expression>Inhalt:</b>[^<]*<a href="plot/([0-9]+),([0-9]+),</expression> </RegExp> - <!--URL to MPAA / Studio / Runtime--> <RegExp input="$$1" output="<url function="OFDbInfo">http://www.ofdb.de/view.php?page=fassung&amp;fid=\1&amp;vid=\2</url>" dest="5+"> <expression><a href=.view.php.page=fassung&fid=([0-9]+)&vid=([0-9]+).>Kino:</expression> </RegExp> - <!--URL to IMDB--> <RegExp input="$$1" output="<url function="IMDB-Details">http://www.imdb.de/title/tt\2/</url>" dest="5+"> <expression>(imdb.com/)Title\?([0-9]+)</expression> </RegExp> - <!--URL to IMDBcredits--> <RegExp input="$$1" output="<url function="GetMovieCast">http://www.imdb.de/title/tt\2/fullcredits#cast</url>" dest="5+"> <expression>(imdb.com/)Title\?([0-9]+)</expression> </RegExp> - <!--URL to Fanart--> - <RegExp conditional="fanart" input="$$1" output="<url function="GetTMDBFanartByIMDBId">http://api.themoviedb.org/2.0/Movie.imdbLookup?imdb_id=tt\2&amp;api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5+"> + <RegExp conditional="fanart" input="$$1" output="<url function="GetTMDBFanartByIMDBId">tt\2</url>" dest="5+"> <expression>(imdb.com/)Title\?([0-9]+)</expression> </RegExp> - <!--URL to MoviePosterDB --> <RegExp conditional="movieposterdb" input="$$1" output="<url function="GetMoviePosterDBLink">http://www.movieposterdb.com/browse/search?type=movies&amp;query=\2</url>" dest="5+"> - <expression>(imdb.com/)Title\?([0-9]+)</expression> + <expression>(imdb.com/)Title\?([0-9]+)</expression> </RegExp> - <!-- Ofdb Poster --> <RegExp input="$$3" output="<url function="GetOfdbThumb" cache="$$2.html">\1</url>" dest="5+"> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> - <!-- Cast --> <RegExp input="$$2" output="<url cache="$$2-credits.html" function="GetMovieCast">$$3</url>" dest="5+"> - <expression></expression> + <expression/> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> </GetDetails> - <!--Plot--> <Inhaltsangabe dest="5"> <RegExp input="$$7" output="<?xml version="1.0" encoding="utf-8" standalone="yes"?><details><plot>\1</plot></details>" dest="5+"> @@ -184,10 +159,9 @@ <RegExp input="$$9" output=" \1" dest="7+"> <expression noclean="1" repeat="yes"><br />([^<]+)</expression> </RegExp> - <expression></expression> + <expression/> </RegExp> </Inhaltsangabe> - <!--Studio--> <OFDbInfo dest="5"> <RegExp input="$$4" output="<?xml version="1.0" encoding="utf-8" standalone="yes"?><details>\1</details>" dest="5"> @@ -197,65 +171,61 @@ <RegExp input="$$1" output="<runtime>\1</runtime>" dest="4+"> <expression>Laufzeit: ([^<]*)<</expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> </OFDbInfo> - <!--IMDB-Details--> <IMDB-Details dest="5"> <RegExp input="$$3" output="<?xml version="1.0" encoding="utf-8" standalone="yes"?><details>\1</details>" dest="5"> <RegExp input="$$1" output="<tagline>\1</tagline>" dest="3+"> <expression>Werbezeile:</h5>([^<]*)<</expression> - </RegExp> + </RegExp> <RegExp conditional="trailer" input="$$1" output="<url function="GetTrailer">http://akas.imdb.com/video/imdb/vi\1/player</url>" dest="3+"> <expression>/vi([0-9]*)/"</expression> </RegExp> <RegExp input="$$1" output="\1" dest="6"> <expression noclean="1">Drehbuchautor(.*)Premierendatum</expression> - </RegExp> + </RegExp> <RegExp input="$$6" output="<credits>\1</credits>" dest="3+"> - <expression><a href="/name/nm[^>]*>([^<]*)<</expression> - </RegExp> - <expression noclean="1"></expression> + <expression><a href="/name/nm[^>]*>([^<]*)<</expression> + </RegExp> + <expression noclean="1"/> </RegExp> </IMDB-Details> - <!-- MovieCast --> <GetMovieCast dest="5"> - <RegExp input="$$2" output="<details>\1</details>" dest="5"> - <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1"><table class="cast">(.*?)</table></expression> - </RegExp> - <RegExp input="$$6" output="<actor><thumb>\1_SX$INFO[imdbscale]_SY$INFO[imdbscale]_\2</thumb><name>\3</name><role>\4</role></actor>" dest="7"> - <expression repeat="yes" noclean="1,2" trim="3,4"><img src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*[^"]*"nm"><a href="[^"]*[^>]*>([^<]*)<[^"]*"ddd"> ... [^"]*"char">(.*?)</td></expression> - </RegExp> - <RegExp input="$$7" output="<actor><thumb>\1</thumb>\2</actor>" dest="2+"> - <expression repeat="yes" noclean="1,2,3"><actor><thumb>(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)</thumb>(.*?)</actor></expression> - </RegExp> - <expression noclean="1"></expression> - </RegExp> - </GetMovieCast> - + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="\1" dest="6"> + <expression noclean="1"><table class="cast">(.*?)</table></expression> + </RegExp> + <RegExp input="$$6" output="<actor><thumb>\1_SX$INFO[imdbscale]_SY$INFO[imdbscale]_\2</thumb><name>\3</name><role>\4</role></actor>" dest="7"> + <expression repeat="yes" noclean="1,2" trim="3,4"><img src="(?:([^"]*\.)[^"]*(\.jpg))?[^>]*[^"]*"nm"><a href="[^"]*[^>]*>([^<]*)<[^"]*"ddd"> ... [^"]*"char">(.*?)</td></expression> + </RegExp> + <RegExp input="$$7" output="<actor><thumb>\1</thumb>\2</actor>" dest="2+"> + <expression repeat="yes" noclean="1,2,3"><actor><thumb>(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)</thumb>(.*?)</actor></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetMovieCast> <!-- Trailer --> - <GetTrailer dest="5"> - <RegExp conditional="trailer" input="$$2" output="<details><trailer urlencoded="yes">\1</trailer></details>" dest="5"> - <RegExp input="$$1" output="\1" dest="2"> - <expression noclean="1">"file"[^"]*"([^"]*)</expression> - </RegExp> - <RegExp input="$$1" output="$$2/\1" dest="2"> - <expression noclean="1">"id"[^"]*"([^"]*)</expression> - </RegExp> - <expression noclean="1"></expression> - </RegExp> - </GetTrailer> - + <GetTrailer dest="5"> + <RegExp conditional="trailer" input="$$2" output="<details><trailer urlencoded="yes">\1</trailer></details>" dest="5"> + <RegExp input="$$1" output="\1" dest="2"> + <expression noclean="1">"file"[^"]*"([^"]*)</expression> + </RegExp> + <RegExp input="$$1" output="$$2/\1" dest="2"> + <expression noclean="1">"id"[^"]*"([^"]*)</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetTrailer> <!-- Ofdb Poster --> <GetOfdbThumb dest="5"> <RegExp input="$$6" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="<thumb>http://img.ofdb.de/film/\1</thumb>" dest="6+"> <expression><img src="http://img.ofdb.de/film/([^"]+)" [^>]*></expression> </RegExp> - <expression noclean="1"></expression> + <expression noclean="1"/> </RegExp> </GetOfdbThumb> </scraper> |