The branch, dharma has been updated
       via  4288cbee09110c6209ae91d41f34c8496d80c953 (commit)
      from  b35afefa71d3a98f5e9ae789979dba0a5c2ed3ec (commit)

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

commit 4288cbee09110c6209ae91d41f34c8496d80c953
Author: olympia <[email protected]>
Date:   Mon Nov 7 15:53:05 2011 +0100

    [metadata.mymovies.it] updated to version 1.1.8

diff --git a/metadata.mymovies.it/addon.xml b/metadata.mymovies.it/addon.xml
index 102ae0b..5b031ed 100644
--- a/metadata.mymovies.it/addon.xml
+++ b/metadata.mymovies.it/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.mymovies.it"
        name="MyMovies.it"
-       version="1.1.7"
+       version="1.1.8"
        provider-name="muttley">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
diff --git a/metadata.mymovies.it/changelog.txt 
b/metadata.mymovies.it/changelog.txt
index c13c243..e2b1169 100644
--- a/metadata.mymovies.it/changelog.txt
+++ b/metadata.mymovies.it/changelog.txt
@@ -1,3 +1,6 @@
+[B]1.1.8[/B]
+- Fixed regex: GetSearchResults (for change in google search report)
+
 [B]1.1.7[/B]
 - Added User Agent for error: "unable to connect to remote server"
 
diff --git a/metadata.mymovies.it/mymovies.xml 
b/metadata.mymovies.it/mymovies.xml
old mode 100644
new mode 100755
index 165fc6c..74de3a4
--- a/metadata.mymovies.it/mymovies.xml
+++ b/metadata.mymovies.it/mymovies.xml
@@ -13,7 +13,8 @@
        </NfoUrl>
 
        <CreateSearchUrl dest="3">
-               <RegExp input="$$1" 
output="&lt;url&gt;http://www.google.it/search?q=\1$$4+site:mymovies.it|User-Agent=Mozilla/5.0&lt;/url&gt;"
 dest="3">
+               <RegExp input="$$1" 
output="&lt;url&gt;http://www.google.it/search?q=\1$$4+site:mymovies.it|User-Agent=Mozilla/5.0
 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1&lt;/url&gt;" 
dest="3">
+                       <!-- Add film year, stored in $$2 for default by xbmc 
-->
                        <RegExp input="$$2" output="%20(\1)" dest="4">
                                <expression clear="yes">(.+)</expression>
                        </RegExp>
@@ -24,12 +25,12 @@
        <GetSearchResults dest="8">
                <RegExp input="$$5" output="&lt;?xml version=&quot;1.0&quot; 
encoding=&quot;UTF-8&quot; 
standalone=&quot;yes&quot;?&gt;&lt;results&gt;\1&lt;/results&gt;" dest="8">
                        <!-- Add new link style to Search result 
(http://www.mymovies.it/film/<year>/<film_name>/) -->
-                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\2 \3&lt;/title&gt;&lt;url 
cache=&quot;main.html&quot;&gt;\1&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;"
 dest="5">
-                               <expression repeat="yes" cs="true">&lt;h3 
class=&quot;r&quot;&gt;&lt;a 
href=&quot;(http://www\.mymovies\.it/film/[0-9]{4}/[^/]+/)&quot; 
class=l&gt;(.+?)(?: +- +MYmovies)?(?: +\| 
+MYmovies)?&lt;/a&gt;&lt;/h3&gt;</expression>
+                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\3 (\2)&lt;/title&gt;&lt;url 
cache=&quot;main.html&quot;&gt;\1&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;"
 dest="5">
+                               <expression repeat="yes" cs="true">&lt;h3 
class=&quot;r&quot;&gt;&lt;a 
href=&quot;(http://www\.mymovies\.it/film/([0-9]{4})/[^/]+/)&quot; 
[^&gt;]+&gt;(.+?)(?: +- +MYmovies)?(?: +\| 
+MYmovies)?&lt;/a&gt;&lt;/h3&gt;</expression>
                        </RegExp>
                        <!-- Add OLD link style to Search result 
(www.mymovies.it/dizionario/recensione.asp?id=[0-9]) -->
                        <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\2 \3&lt;/title&gt;&lt;url 
cache=&quot;main.html&quot;&gt;\1&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;"
 dest="5+">
-                               <expression repeat="yes" cs="true">&lt;h3 
class=&quot;r&quot;&gt;&lt;a 
href=&quot;(http://www\.mymovies\.it/dizionario/recensione\.asp\?id=[^&quot;]+)&quot;
 class=l&gt;(.+?)(?: +- +MYmovies)?(?: +\| 
+MYmovies)?&lt;/a&gt;&lt;/h3&gt;</expression>
+                               <expression repeat="yes" cs="true">&lt;h3 
class=&quot;r&quot;&gt;&lt;a 
href=&quot;(http://www\.mymovies\.it/dizionario/recensione\.asp\?id=[^&quot;]+)&quot;
 [^&gt;]+&gt;(.+?)(?: +- +MYmovies)?(?: +\| 
+MYmovies)?&lt;/a&gt;&lt;/h3&gt;</expression>
                        </RegExp>
                        <expression noclean="1" />
                </RegExp>

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

Summary of changes:
 metadata.mymovies.it/addon.xml     |    2 +-
 metadata.mymovies.it/changelog.txt |    3 +++
 metadata.mymovies.it/mymovies.xml  |    9 +++++----
 3 files changed, 9 insertions(+), 5 deletions(-)
 mode change 100644 => 100755 metadata.mymovies.it/mymovies.xml


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to