The branch, eden-pre has been updated
via 3940e8928c02a0fdc72d8d432cb856d59a037998 (commit)
from 149a6bd905869ea78c944451390173b188f02815 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=3940e8928c02a0fdc72d8d432cb856d59a037998
commit 3940e8928c02a0fdc72d8d432cb856d59a037998
Author: vdrfan <[email protected]>
Date: Thu Jul 14 17:01:09 2011 +0200
[metadata.ofdb.de] updated to version 1.1.0
diff --git a/metadata.ofdb.de/addon.xml b/metadata.ofdb.de/addon.xml
index 65837f3..1c76237 100644
--- a/metadata.ofdb.de/addon.xml
+++ b/metadata.ofdb.de/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.ofdb.de"
name="OFDB"
- version="1.0.17"
+ version="1.1.0"
provider-name="Team XBMC + morte0815">
<requires>
<import addon="xbmc.metadata" version="1.0"/>
diff --git a/metadata.ofdb.de/ofdb.xml b/metadata.ofdb.de/ofdb.xml
index eef3eda..1938a3b 100644
--- a/metadata.ofdb.de/ofdb.xml
+++ b/metadata.ofdb.de/ofdb.xml
@@ -1,33 +1,59 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
-<scraper framework="1.1" date="2010-01-13">
+<scraper framework="1.1" date="2011-07-14">
<NfoUrl dest="3">
- <RegExp input="$$1" output="<url>\1\2,\3</url>"
dest="3">
- <expression clear="yes"
noclean="1">(http://www.ofdb.de/film/)([0-9]*),(.*)</expression>
+ <RegExp input="$$1"
output="<details><url>http://ofdbgw.org/movie/\2</url><id>\2</id></details>"
dest="3">
+ <expression clear="yes"
noclean="1">(http://www.ofdb.de/film/)([0-9]*),</expression>
</RegExp>
- <RegExp input="$$1" output="<details><url
function="GetByIMDBId">http://www.ofdb.de/view.php?SText=\2&amp;Kat=IMDb&amp;page=suchergebnis&amp;sourceid=mozilla-search</url><details>"
dest="3+">
- <expression>(imdb.com/)Title\?([0-9]+)</expression>
+ <RegExp input="$$1" output="<details><url
function="GetByIMDBId">http://ofdbgw.org/imdb2ofdb/tt\1</url><id>tt\1</id></details>"
dest="3">
+ <expression
noclean="1">imdb....?/Title\?([0-9]*)</expression>
</RegExp>
- <RegExp input="$$1" output="<details><url
function="GetByIMDBId">http://www.ofdb.de/view.php?SText=\2&amp;Kat=IMDb&amp;page=suchergebnis&amp;sourceid=mozilla-search</url><details>"
dest="3+">
- <expression>(imdb.com/title/tt)([0-9]*)</expression>
+ <RegExp input="$$1" output="<details><url
function="GetByIMDBId">http://ofdbgw.org/imdb2ofdb/tt\1</url><id>tt\1</id></details>"
dest="3+">
+ <expression
noclean="1">imdb....?/title/tt([0-9]*)</expression>
</RegExp>
</NfoUrl>
<GetByIMDBId dest="3">
<RegExp input="$$1"
output="<url>http://www.ofdb.de/film/\1,</url><id>\1</id>"
dest="3+">
- <expression repeat="yes"
noclean="1">"film/([0-9]*),</expression>
+ <expression
noclean="1"><ofdbid>([^<]*)</ofdbid></expression>
</RegExp>
</GetByIMDBId>
+ <GetOFDbURL dest="3">
+ <RegExp input="$$5"
output="<results><entity>\1</entity></results>"
dest="3+">
+ <RegExp input="$$6" output="\1" dest="5+">
+ <RegExp input="$$1"
output="<title>\1</title>" dest="6">
+ <expression
noclean="1"><titel>([^/]*)\s/([^\(]*)\s</expression>
+ </RegExp>
+ <RegExp input="$$6" output="\1" dest="5">
+ <RegExp input="$$7"
output="<title>\2 \1</title>" dest="6">
+ <RegExp input="$$1" output="\1"
dest="7">
+ <expression
noclean="1"><titel>([^/]*)\s/([^\(]*)\s</expression>
+ </RegExp>
+ <expression>(.*),
(Die|Der|Das|The)</expression>
+ </RegExp>
+ <expression noclean="1"/>
+ </RegExp>
+ <expression noclean="1"/>
+ </RegExp>
+ <RegExp input="$$1"
output="<year>\1</year>" dest="5+">
+ <expression
noclean="1"><titel>.*?\(([0-9]*)\)</titel></expression>
+ </RegExp>
+ <RegExp input="$$1"
output="<url>http://www.ofdb.de/film/\1,</url><id>\1</id>"
dest="5+">
+ <expression
noclean="1"><ofdbid>([^<]*)</ofdbid></expression>
+ </RegExp>
+ <expression noclean="1"/>
+ </RegExp>
+ </GetOFDbURL>
<CreateSearchUrl dest="3">
- <RegExp input="$$1"
output="<url>http://api.bing.com/xml.aspx?AppId=16E50AB9947899C41433EB944C60174737855036&amp;Sources=web&amp;xmltype=attributebased&amp;Query=site:ofdb.de/film+\1$$4&amp;web.count=50</url>"
dest="3">
- <RegExp input="$$2" output="%20\1" dest="4+">
+ <RegExp input="$$1"
output="<url>http://api.themoviedb.org/2.1/Movie.search/de/xml/57983e31fb435df4df77afb854740ea9/\1$$4</url>"
dest="3">
+ <RegExp input="$$2" output="+\1" dest="4">
<expression clear="yes">(.+)</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</CreateSearchUrl>
<GetSearchResults dest="8">
- <RegExp input="$$5" output="<?xml version="1.0"
encoding="utf-8"
standalone="yes"?><results>\1</results>" dest="8">
- <RegExp input="$$1"
output="<entity><title>\1</title><year>\2</year><url
cache="ofdb-\4.html">\3\4,</url></entity>" dest="5+">
- <expression repeat="yes"
trim="1">Title="OFDb -
([^"]*)\(([0-9]*)\)".*?Url="(http://www.ofdb.de/film/)([0-9]*)</expression>
+ <RegExp input="$$5" output="<results>\1</results>"
dest="8">
+ <RegExp input="$$1" output="<url
function="GetOFDbURL">http://ofdbgw.org/imdb2ofdb/\1</url>"
dest="5+">
+ <expression noclean="1"
repeat="yes"><imdb_id>([^<]*)</imdb_id></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
-----------------------------------------------------------------------
Summary of changes:
metadata.ofdb.de/addon.xml | 2 +-
metadata.ofdb.de/ofdb.xml | 52 +++++++++++++++++++++++++++++++++-----------
2 files changed, 40 insertions(+), 14 deletions(-)
hooks/post-receive
--
Scrapers
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons