The branch, eden has been updated
via 27d453d322109eeb8822a0a41e5132b219814da6 (commit)
from 623384aa9b3810d1200def84f5a2d9409591fc24 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=27d453d322109eeb8822a0a41e5132b219814da6
commit 27d453d322109eeb8822a0a41e5132b219814da6
Author: taxigps <[email protected]>
Date: Mon May 27 18:36:01 2013 +0800
[metadata.mtime.com] updated to version 1.1.2
diff --git a/metadata.mtime.com/addon.xml b/metadata.mtime.com/addon.xml
index 2840ac9..fb8ce59 100644
--- a/metadata.mtime.com/addon.xml
+++ b/metadata.mtime.com/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.mtime.com"
name="MTime"
- version="1.1.1"
+ version="1.1.2"
provider-name="Taxigps">
<requires>
<import addon="xbmc.metadata" version="1.0"/>
diff --git a/metadata.mtime.com/mtime.xml b/metadata.mtime.com/mtime.xml
index ec46f14..5867c8e 100644
--- a/metadata.mtime.com/mtime.xml
+++ b/metadata.mtime.com/mtime.xml
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<scraper framework="1.1" date="2011-03-13">
+<scraper framework="1.1" date="2013-05-27">
<NfoUrl dest="3">
<RegExp input="$$1" output="<url>\1</url>" dest="3">
<expression clear="yes"
noclean="1">(http://www.mtime.com/movie/[0-9]*)</expression>
</RegExp>
</NfoUrl>
- <CreateSearchUrl dest="3" SearchStringEncoding="gb2312">
+ <CreateSearchUrl dest="3">
<RegExp input="$$1"
output="<url>http://m.mtime.com/search/?q=\1</url>" dest="3">
<expression noclean="1"/>
</RegExp>
@@ -41,7 +41,7 @@
<RegExp input="$$1"
output="<country>\2</country>" dest="5+">
<expression
repeat="yes">href="http://(search.mtime.com/movie/section/area/|movie.mtime.com/movie/search/section/\?nation=)[^>]*>([^<]*).nbsp</expression>
</RegExp>
- <RegExp input="$$2" output="<url
cache="$$2-rating.html"
function="GetRating">$$3rating/summary.html</url>" dest="5+">
+ <RegExp input="$$2" output="<url
cache="$$2-rating.html"
function="GetRating">http://service.mtime.com/database/databaseService.m?Ajax_CallBack=true&Ajax_CallBackType=Mtime.Community.Controls.CommunityPages.DatabaseService&Ajax_CallBackMethod=LoadData2&Ajax_CallBackArgument0=1&Ajax_CallBackArgument1=\1</url>"
dest="5+">
<expression/>
</RegExp>
<RegExp input="$$1"
output="<genre>\1</genre>" dest="5+">
@@ -53,6 +53,9 @@
<RegExp input="$$1"
output="<outline>\1</outline><plot>\1</plot>" dest="5+">
<expression><!-- å§æ
ä»ç»
-->.*?<p>(.*?)</p></expression>
</RegExp>
+ <RegExp conditional="trailer" input="$$1"
output="<url
function="GetTrailer">http://api.mtime.com/trailer/getvideo.aspx?vid=\1</url>"
dest="5+">
+
<expression>http://movie.mtime.com/\d+/trailer/(\d+)\.html</expression>
+ </RegExp>
<RegExp input="$$2" output="<url
cache="$$2-plot.html"
function="GetPlot">http://movie.m.mtime.com/$$2/plots.html</url>"
dest="5+">
<expression/>
</RegExp>
@@ -71,6 +74,11 @@
<expression noclean="1"/>
</RegExp>
</GetDetails>
+ <GetTrailer clearbuffers="no" dest="5">
+ <RegExp input="$$1"
output="<details><trailer>\1</trailer></details>"
dest="5">
+
<expression>"flv":"([^"]+)"</expression>
+ </RegExp>
+ </GetTrailer>
<GetPlot clearbuffers="no" dest="5">
<RegExp input="$$2"
output="<details><plot>\1</plot></details>" dest="5">
<RegExp input="$$1" output="\1" dest="2">
@@ -93,7 +101,7 @@
<GetRating clearbuffers="no" dest="5">
<RegExp input="$$2" output="<details>\1</details>"
dest="5">
<RegExp input="$$1"
output="<rating>\1</rating><votes>\2</votes>" dest="2">
- <expression clear="yes">å
¨é¨ä¼å.*?class="score">([0-9.]+)</span>.*?class="vote">([0-9]+)</span></expression>
+ <expression
clear="yes">"rating":([\d\.]+),"ratingCount":(\d+),</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
@@ -104,19 +112,19 @@
<expression clear="yes" noclean="1">æ¼å
Actorï¼(.*?)</ul></expression>
</RegExp>
<RegExp input="$$6"
output="<actor><thumb>\1.jpg</thumb><name>\2</name><role>\4</role></actor>"
dest="2">
- <expression clear="yes" repeat="yes"
noclean="1" trim="2,4"><img alt="[^"]*"
src="([^_]*)_22X22.jpg"/></a><a
href=".*?">([^<]*)</a>([^\.]*\.\.\.\.([^<]*)</em>|.*?)</li></expression>
+ <expression clear="yes" repeat="yes"
noclean="1" trim="2,4"><img alt="[^"]*"
src="([^_]*)_22X22.jpg"/></a><a
href=[^>]*>([^<]*)</a>(.*?\.\.\.\.([^<]*)</em>|.*?)</li></expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="8">
<expression clear="yes" noclean="1">导æ¼
Directorï¼(.*?)</ul></expression>
</RegExp>
<RegExp input="$$8"
output="<director>\1</director>" dest="2+">
- <expression
repeat="yes"><li>[^<]*<a
href=".*?">([^<]*)<</expression>
+ <expression
repeat="yes"><li>[^<]*<a
href=[^>]*>([^<]*)<</expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="9">
<expression clear="yes" noclean="1">ç¼å§
Writerï¼(.*?)</ul></expression>
</RegExp>
<RegExp input="$$9"
output="<credits>\1</credits>" dest="2+">
- <expression
repeat="yes"><li>[^<]*<a
href=".*?">([^<]*)<</expression>
+ <expression
repeat="yes"><li>[^<]*<a
href=[^>]*>([^<]*)<</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
diff --git a/metadata.mtime.com/resources/language/Chinese (Simple)/strings.xml
b/metadata.mtime.com/resources/language/Chinese (Simple)/strings.xml
index 2c7924f..669630c 100644
--- a/metadata.mtime.com/resources/language/Chinese (Simple)/strings.xml
+++ b/metadata.mtime.com/resources/language/Chinese (Simple)/strings.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<strings>
<string id="30000">å¯ç¨å人ç»</string>
+ <string id="30001">å¯ç¨é¢åç</string>
</strings>
diff --git a/metadata.mtime.com/resources/language/English/strings.xml
b/metadata.mtime.com/resources/language/English/strings.xml
index 2e0da13..f2bda66 100644
--- a/metadata.mtime.com/resources/language/English/strings.xml
+++ b/metadata.mtime.com/resources/language/English/strings.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<strings>
<string id="30000">Enable Fanart</string>
+ <string id="30001">Enable Trailer</string>
</strings>
diff --git a/metadata.mtime.com/resources/settings.xml
b/metadata.mtime.com/resources/settings.xml
index 0059bb2..0854db5 100644
--- a/metadata.mtime.com/resources/settings.xml
+++ b/metadata.mtime.com/resources/settings.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<setting label="30000" type="bool" id="fanart" default="true"/>
+ <setting label="30001" type="bool" id="trailer" default="true"/>
</settings>
-----------------------------------------------------------------------
Summary of changes:
metadata.mtime.com/addon.xml | 2 +-
metadata.mtime.com/changelog.txt | 30 ++++++++++++++++++++
metadata.mtime.com/mtime.xml | 22 ++++++++++----
.../language/Chinese (Simple)/strings.xml | 1 +
.../resources/language/English/strings.xml | 1 +
metadata.mtime.com/resources/settings.xml | 1 +
6 files changed, 49 insertions(+), 8 deletions(-)
create mode 100644 metadata.mtime.com/changelog.txt
hooks/post-receive
--
Scrapers
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons