The branch, dharma-pre has been updated
       via  49b265787fa5d0a36ad1aa6246e4d5837228ec64 (commit)
      from  f9c28e9695bcfe048e7b3b7e68fb2e61376839f8 (commit)

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

commit 49b265787fa5d0a36ad1aa6246e4d5837228ec64
Author: olympia <[email protected]>
Date:   Sat Oct 23 12:21:58 2010 +0200

    [metadata.imdb.com] Fixed aka title scraping (leftover from site changes) 
Thanks to ventech!

diff --git a/metadata.imdb.com/addon.xml b/metadata.imdb.com/addon.xml
index 6e57eab..046a311 100644
--- a/metadata.imdb.com/addon.xml
+++ b/metadata.imdb.com/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.imdb.com"
        name="IMDb"
-        version="2.1.1"
+        version="2.1.2"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
diff --git a/metadata.imdb.com/changelog.txt b/metadata.imdb.com/changelog.txt
index abc10f9..cc932f0 100644
--- a/metadata.imdb.com/changelog.txt
+++ b/metadata.imdb.com/changelog.txt
@@ -1,3 +1,6 @@
+[B]2.1.2[/B]
+- fixed: title scraping due to site changes
+
 [B]2.1.1[/B]
 - changed: re-added fixchars
 
diff --git a/metadata.imdb.com/imdb.xml b/metadata.imdb.com/imdb.xml
index 1e24bae..3ccb9da 100644
--- a/metadata.imdb.com/imdb.xml
+++ b/metadata.imdb.com/imdb.xml
@@ -170,7 +170,7 @@
                                        <expression>(.+)</expression>
                                </RegExp>
                                <RegExp input="$$1" output="\1" dest="12">
-                                       
<expression>&gt;&lt;[^&gt;]*&quot;/Sections/Countries/(USA|UK|NewZealand|Canada)</expression>
+                                       <expression>&lt;a 
href="/country/[^&gt;]+&gt;(USA|UK|NewZealand|Canada)</expression></expression>
                                </RegExp>
                                <RegExp input="$$12" output="$$9" dest="10">
                                        <expression>(.+)</expression>
@@ -187,7 +187,7 @@
                                <expression>(.+)</expression>
                        </RegExp>
                        <RegExp input="$$1" output="\1" dest="5">
-                               
<expression>&gt;&lt;[^&gt;]*&quot;/Sections/Countries/($INFO[akatitles])</expression>
+                               <expression>&lt;a 
href="/country/[^&gt;]+&gt;($INFO[akatitles])</expression>
                        </RegExp>
                        <RegExp input="$$5" output="$$9" dest="4">
                                <expression>($INFO[akatitles])</expression>

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

Summary of changes:
 metadata.imdb.com/addon.xml     |    2 +-
 metadata.imdb.com/changelog.txt |    3 +++
 metadata.imdb.com/imdb.xml      |    4 ++--
 3 files changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to