aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.common.amazon.de/amazonde.xml
diff options
context:
space:
mode:
authorMartijn Kaijser <mcm.kaijser@gmail.com>2012-07-08 12:54:29 +0200
committerMartijn Kaijser <mcm.kaijser@gmail.com>2012-07-08 12:55:07 +0200
commit4c4ccf0e898d8ad1636a9fec5d22c4b1195ca520 (patch)
tree87889ab28e364ad6bb395c7af7ce339e96a6c320 /addons/metadata.common.amazon.de/amazonde.xml
parentf8ef1ccfc32335af2608236dba4fd85084a94fee (diff)
update common scraper modules
Diffstat (limited to 'addons/metadata.common.amazon.de/amazonde.xml')
-rw-r--r--addons/metadata.common.amazon.de/amazonde.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/addons/metadata.common.amazon.de/amazonde.xml b/addons/metadata.common.amazon.de/amazonde.xml
new file mode 100644
index 0000000000..a8e054b8fc
--- /dev/null
+++ b/addons/metadata.common.amazon.de/amazonde.xml
@@ -0,0 +1,15 @@
+<scraperfunctions>
+ <GetAmazonDEAlbumReviewByASIN dest="5">
+ <RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;ParseAmazonDEAlbumReview&quot;&gt;http://www.amazon.de/exec/obidos/ASIN/\1&lt;/url&gt;&lt;/details&gt;" dest="5">
+ <expression noclean="1">(.+)</expression>
+ </RegExp>
+ </GetAmazonDEAlbumReviewByASIN>
+ <ParseAmazonDEAlbumReview dest="5">
+ <RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
+ <RegExp input="$$1" output="&lt;review&gt;\1&lt;/review&gt;" dest="2">
+ <expression fixchars="1">Kurzbeschreibung&lt;/h3&gt;\s*&lt;div class=&quot;productDescriptionWrapper&quot;&gt;(.*?)&lt;div class</expression>
+ </RegExp>
+ <expression noclean="1">(.+)</expression>
+ </RegExp>
+ </ParseAmazonDEAlbumReview>
+</scraperfunctions>