diff options
author | taxigps <taxigps@svn> | 2010-03-18 16:20:18 +0000 |
---|---|---|
committer | taxigps <taxigps@svn> | 2010-03-18 16:20:18 +0000 |
commit | 883557990cda4415dbce6076795413180d1a9d58 (patch) | |
tree | 8e649a2ad4d0416125e3efaa30b1a6ef348332a9 /addons/com.getlib.scraper | |
parent | 055f806011cccedf33206210e0bfd28237b5fe87 (diff) |
changed: move chinese scrapers to new addons location
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28659 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/com.getlib.scraper')
-rw-r--r-- | addons/com.getlib.scraper/default.tbn | bin | 0 -> 4578 bytes | |||
-rw-r--r-- | addons/com.getlib.scraper/description.xml | 24 | ||||
-rw-r--r-- | addons/com.getlib.scraper/getlib.xml | 122 |
3 files changed, 146 insertions, 0 deletions
diff --git a/addons/com.getlib.scraper/default.tbn b/addons/com.getlib.scraper/default.tbn Binary files differnew file mode 100644 index 0000000000..9bdc2d2122 --- /dev/null +++ b/addons/com.getlib.scraper/default.tbn diff --git a/addons/com.getlib.scraper/description.xml b/addons/com.getlib.scraper/description.xml new file mode 100644 index 0000000000..935bb630ba --- /dev/null +++ b/addons/com.getlib.scraper/description.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<addoninfo> + <id>com.getlib.scraper</id> + <type>scraper</type> + <title>Getlib</title> + <library>getlib.xml</library> + <version>1.0.0</version> + <platforms> + <platform>all</platform> + </platforms> + <minversion> + <xbmc>20000</xbmc> + </minversion> + <summary>Getlib Movie Scraper</summary> + <description>Download Movie information from www.getlib.com</description> + <author>TAXIGPS</author> + <dependencies> + <dependency minversion="1.0.0" maxversion="">org.themoviedb.scraper.common</dependency> + <dependency minversion="1.0.0" maxversion="">com.movieposterdb.scraper.common</dependency> + </dependencies> + <supportedcontent> + <content>movies</content> + </supportedcontent> +</addoninfo> diff --git a/addons/com.getlib.scraper/getlib.xml b/addons/com.getlib.scraper/getlib.xml new file mode 100644 index 0000000000..4dfcd699c9 --- /dev/null +++ b/addons/com.getlib.scraper/getlib.xml @@ -0,0 +1,122 @@ +<?xml version="1.0" encoding="gb2312"?> +<scraper framework="1.1" date="2009-12-14" name="getlib" content="movies" thumb="getlib.gif" language="zh"> + <GetSettings dest="3"> + <RegExp input="$$5" output="<settings>\1</settings>" dest="3"> + <RegExp input="$$1" output="<setting label="Enable MoviePosterDB" type="bool" id="movieposterdb" default="false"></setting>" dest="5"> + <expression/> + </RegExp> + <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>http://www.getlib.com/title/tt\1</url><id>tt\1</id>" dest="3"> + <expression clear="yes" noclean="1">getlib.com/title/tt([0-9]*)</expression> + </RegExp> + <RegExp input="$$1" output="<url>http://www.getlib.com/title/tt\1</url><id>tt\1</id>" dest="3+"> + <expression clear="yes" noclean="1">imdb.com/Title\?([0-9]*)</expression> + </RegExp> + <RegExp input="$$1" output="<url>http://www.getlib.com/title/tt\1</url><id>tt\1</id>" dest="3+"> + <expression clear="yes" noclean="1">imdb.com/title/tt([0-9]*)</expression> + </RegExp> + </NfoUrl> + <CreateSearchUrl dest="3" SearchStringEncoding="gb2312"> + <RegExp input="$$1" output="<url>http://www.getlib.com/?keyword=\1&amp;a=search&amp;Type=movie</url>" dest="3"> + <expression noclean="1"/> + </RegExp> + </CreateSearchUrl> + <GetSearchResults dest="8"> + <RegExp input="$$5" output="<?xml version="1.0" encoding="gb2312" standalone="yes"?><results>\1</results>" dest="8"> + <RegExp input="$$1" output="<entity><title>\1 (\2)</title><url>http://www.getlib.com/title/\3</url><id>\3</id></entity>" dest="5"> + <expression clear="yes" noclean="1"><h1>(.*?)\(<a href=.*?>([0-9]*)</a>.*?<a href="http://www.getlib.com/title/(tt[0-9]+)"></expression> + </RegExp> + <RegExp input="$$1" output="<entity><title>\2 (\3)</title><url>http://www.getlib.com/title/\1</url><id>\1</id></entity>" dest="5+"> + <expression repeat="yes"><a href="title/(tt[0-9]+)" target="_blank">(.*?)</a> \(([0-9]+)\)</expression> + </RegExp> + <expression clear="yes" noclean="1"/> + </RegExp> + </GetSearchResults> + <GetDetails dest="3"> + <RegExp input="$$5" output="<details>\1</details>" dest="3"> + <RegExp input="$$2" output="<id>\1</id>" dest="5"> + <expression/> + </RegExp> + <RegExp input="$$1" output="<title>\1</title>" dest="5+"> + <expression trim="1" noclean="1"><h1>(.*?)(/| |\()</expression> + </RegExp> + <RegExp input="$$1" output="<year>\1</year>" dest="5+"> + <expression><h1>.*?href="http://www.getlib.com/Sections/Years/([0-9]+)"</expression> + </RegExp> + <RegExp input="$$1" output="<mpaa>\1</mpaa>" dest="5+"> + <expression><h3>MPAA£º</h3>.*?class="moinfo">(.*?)</div></expression> + </RegExp> + <RegExp input="$$1" output="<certification>\1</certification>" dest="5+"> + <expression repeat="yes"><a href=http://www.getlib.com/Sections/Certification/[^>]*>([^<]*)</a></expression> + </RegExp> + <RegExp input="$$1" output="<runtime>\1</runtime>" dest="5+"> + <expression>id="mtime">([^<]*)</div></expression> + </RegExp> + <RegExp input="$$1" output="<rating>\1</rating><votes>\2</votes>" dest="5+"> + <expression>id="mimdbrate">.*?<b>(.*?)/10</b>\(&nbsp;([0-9]*)Ʊ</expression> + </RegExp> + <RegExp input="$$1" output="<genre>\1</genre>" dest="5+"> + <expression repeat="yes"><a href=http://www.getlib.com/Sections/Genres/[^>]*>([^<]*)</a></expression> + </RegExp> + <RegExp input="$$7" output="<outline>\1</outline><plot>\1</plot>" dest="5+"> + <RegExp input="$$1" output="\1\n" dest="6"> + <expression>id="content">(.*?)</div></expression> + </RegExp> + <RegExp input="$$6" output="\1" dest="7"> + <expression repeat="yes">(.*?)[\n\r\t]</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + <RegExp input="$$2" output="<url cache="$$2-fullcredits.html" function="GetFullcredits">$$3/fullcredits</url>" dest="5+"> + <expression/> + </RegExp> + <RegExp conditional="movieposterdb" input="$$1" output="<url function="GetMoviePosterDBLink">http://www.movieposterdb.com/browse/search?type=movies&amp;query=\1</url>" dest="5+"> + <expression>/title/tt([0-9]*)/ratings</expression> + </RegExp> + <RegExp input="$$1" output="<url cache="\1-posters.html" function="GetPoster">http://www.getlib.com/poster/\1</url>" dest="5+"> + <expression repeat="yes"><a href="http://www.getlib.com/poster/([0-9]+)"</expression> + </RegExp> + <RegExp conditional="fanart" input="$$2" output="<url function="GetTMDBFanartById">$$3</url>" dest="5+"> + <expression/> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetDetails> + <GetFullcredits clearbuffers="no" dest="5"> + <RegExp input="$$2" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="\1" dest="6"> + <expression clear="yes" noclean="1"><h3 align="center">ÑÝÔ±</h3>(.*?)<h3</expression> + </RegExp> + <RegExp input="$$6" output="<actor><name>\1</name><role>\2</role></actor>" dest="2"> + <expression repeat="yes"><div class="castname">(.*?)</div>.*?<div class="castaction">(.*?)</div></expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="7"> + <expression clear="yes" noclean="1">align="center">µ¼ÑÝ</h3>(.*?)<h3</expression> + </RegExp> + <RegExp input="$$7" output="<director>\1</director>" dest="2+"> + <expression repeat="yes"><div class="castname">(.*?)</div></expression> + </RegExp> + <RegExp input="$$1" output="\1" dest="8"> + <expression clear="yes" noclean="1">align="center">±à¾ç</h3>(.*?)<h3 </expression> + </RegExp> + <RegExp input="$$8" output="<credits>\1</credits>" dest="2+"> + <expression repeat="yes"><div class="castname">(.*?)</div></expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetFullcredits> + <GetPoster dest="5"> + <RegExp input="$$6" output="<details>\1</details>" dest="5"> + <RegExp input="$$1" output="<thumb>\1</thumb>" dest="6"> + <expression><img src="(http://www.getlib.com/dataz/posters_big/.*?)"</expression> + </RegExp> + <expression noclean="1"/> + </RegExp> + </GetPoster> +</scraper> |