The branch, dharma has been updated
       via  b0f084768ac8b7dd4a52d39bfebb21b6eddb2c95 (commit)
      from  a222752acb80b1c3abb246814995220e5f984b38 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=b0f084768ac8b7dd4a52d39bfebb21b6eddb2c95

commit b0f084768ac8b7dd4a52d39bfebb21b6eddb2c95
Author: taxigps <[email protected]>
Date:   Sun Apr 8 22:45:31 2012 +0800

    [metadata.mtime.com] updated to version 1.1.0

diff --git a/metadata.mtime.com/addon.xml b/metadata.mtime.com/addon.xml
index 54fefa2..500b385 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"?>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.mtime.com"
        name="MTime"
-       version="1.0.9"
+       version="1.1.0"
        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 28b35f5..47f313b 100644
--- a/metadata.mtime.com/mtime.xml
+++ b/metadata.mtime.com/mtime.xml
@@ -6,16 +6,16 @@
                </RegExp>
        </NfoUrl>
        <CreateSearchUrl dest="3" SearchStringEncoding="gb2312">
-               <RegExp input="$$1" 
output="&lt;url&gt;http://www.baidu.com/s?wd=site:movie.mtime.com+\1&lt;/url&gt;";
 dest="3">
+               <RegExp input="$$1" 
output="&lt;url&gt;http://m.mtime.com/search/?q=\1&lt;/url&gt;"; dest="3">
                        <expression noclean="1"/>
                </RegExp>
        </CreateSearchUrl>
        <GetSearchResults dest="8">
-               <RegExp input="$$5" output="&lt;?xml version=&quot;1.0&quot; 
encoding=&quot;iso-8859-1&quot; 
standalone=&quot;yes&quot;?&gt;&lt;results&gt;\1&lt;/results&gt;" dest="8">
-                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\2&lt;/title&gt;&lt;url&gt;http://movie.mtime.com/\1/&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;";
 dest="5+">
-                               <expression repeat="yes" 
noclean="1">href=&quot;http://movie.mtime.com/([0-9]+)/?&quot; 
?target=&quot;_blank&quot;&gt;(.*?)&lt;/a&gt;</expression>
+               <RegExp input="$$3" output="&lt;results&gt;\1&lt;/results&gt;" 
dest="8">
+                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\2 - \4 
\3&lt;/title&gt;&lt;url&gt;http://movie.mtime.com/\1/&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;";
 dest="3+">
+                               <expression repeat="yes">&lt;div&gt; 
&lt;p&gt;&lt;a 
href="http://movie.m.mtime.com/([0-9]+)/"&gt;(.+?)&lt;/a&gt;(.+?)&lt;a 
href="http://movie.m.mtime.com/[0-9]+/"&gt;(.+?)&lt;/a&gt;&lt;/p&gt; 
&lt;/div&gt;</expression>
                        </RegExp>
-                       <expression clear="yes" noclean="1"/>
+                       <expression noclean="1"/>
                </RegExp>
        </GetSearchResults>
        <GetDetails dest="3">
@@ -36,7 +36,10 @@
                                <expression/>
                        </RegExp>
                        <RegExp input="$$1" 
output="&lt;runtime&gt;\1&lt;/runtime&gt;" dest="5+">
-                               <expression 
trim="1">片长:&lt;/strong&gt;(.*?)&lt;/li&gt;</expression>
+                               <expression 
trim="1">片长:&lt;/strong&gt;&lt;span[^&gt;]*&gt;([0-9]+)</expression>
+                       </RegExp>
+                       <RegExp input="$$1" 
output="&lt;country&gt;\2&lt;/country&gt;" dest="5+">
+                               <expression 
repeat="yes">href=&quot;http://(search.mtime.com/movie/section/area/|movie.mtime.com/movie/search/section/\?nation=)[^&gt;]*&gt;([^&lt;]*).nbsp</expression>
                        </RegExp>
                        <RegExp input="$$2" output="&lt;url 
cache=&quot;$$2-rating.html&quot; 
function=&quot;GetRating&quot;&gt;$$3rating/summary.html&lt;/url&gt;" dest="5+">
                                <expression/>
@@ -50,6 +53,9 @@
                        <RegExp input="$$1" 
output="&lt;outline&gt;\1&lt;/outline&gt;&lt;plot&gt;\1&lt;/plot&gt;" dest="5+">
                                <expression>&lt;!-- 剧情介绍 
--&gt;.*?&lt;p&gt;(.*?)&lt;/p&gt;</expression>
                        </RegExp>
+                       <RegExp input="$$2" output="&lt;url 
cache=&quot;$$2-plot.html&quot; 
function=&quot;GetPlot&quot;&gt;http://movie.m.mtime.com/$$2/plots.html&lt;/url&gt;";
 dest="5+">
+                               <expression/>
+                       </RegExp>
                        <RegExp input="$$2" output="&lt;url 
cache=&quot;$$2-fullcredits.html&quot; 
function=&quot;GetFullcredits&quot;&gt;$$3fullcredits.html&lt;/url&gt;" 
dest="5+">
                                <expression/>
                        </RegExp>
@@ -65,6 +71,14 @@
                        <expression noclean="1"/>
                </RegExp>
        </GetDetails>   
+       <GetPlot clearbuffers="no" dest="5">
+               <RegExp input="$$2" 
output="&lt;details&gt;&lt;plot&gt;\1&lt;/plot&gt;&lt;/details&gt;" dest="5">
+                       <RegExp input="$$1" output="\1" dest="2">
+                               <expression repeat="yes">&lt;p 
class="intro"&gt;(.*?)&lt;/p&gt;</expression>
+                       </RegExp>
+                       <expression noclean="1"/>
+               </RegExp>
+       </GetPlot>
        <GetDetailsPage clearbuffers="no" dest="5">
                <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">
                        <RegExp input="$$1" 
output="&lt;mpaa&gt;\1&lt;/mpaa&gt;" dest="2">

-----------------------------------------------------------------------

Summary of changes:
 metadata.mtime.com/addon.xml |    4 ++--
 metadata.mtime.com/mtime.xml |   26 ++++++++++++++++++++------
 2 files changed, 22 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to