The branch, frodo has been updated
via dad593fc6d8263dab04a997dd92d5748cdf1641b (commit)
from a5e145e4c19cb0acbbd0e9c381bfe5a0381ab19f (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=dad593fc6d8263dab04a997dd92d5748cdf1641b
commit dad593fc6d8263dab04a997dd92d5748cdf1641b
Author: olympia <[email protected]>
Date: Wed Oct 8 10:44:12 2014 +0200
[metadata.common.rt.com] updated to version 1.5.0
diff --git a/metadata.common.rt.com/changelog.txt
b/metadata.common.rt.com/changelog.txt
index 4261f23..d809528 100644
--- a/metadata.common.rt.com/changelog.txt
+++ b/metadata.common.rt.com/changelog.txt
@@ -1,3 +1,6 @@
+[B]1.5.0[/B]
+- Fixed: many data won't scraper due to site layout changes
+
[B]1.4.1[/B]
- Fixed: critics' consensus won't scrape
diff --git a/metadata.common.rt.com/rt.xml b/metadata.common.rt.com/rt.xml
index 99d61be..55bc88f 100644
--- a/metadata.common.rt.com/rt.xml
+++ b/metadata.common.rt.com/rt.xml
@@ -21,7 +21,7 @@
<!-- TomatoMeter from All Critics -->
<ParseRTTomAll dest="5">
<RegExp input="$$1" output="<details><rating
max="100">\1</rating><votes>\2</votes></details>"
dest="5">
- <expression
noclean="1">"all-critics-numbers".*?([0-9]+).*?Reviews
Counted:.*?([0-9]+)</expression>
+ <expression
noclean="1">"all-critics-numbers".*?"ratingValue">([0-9]+).*?Reviews
Counted:.*?([0-9]+)</expression>
</RegExp>
</ParseRTTomAll>
@@ -29,10 +29,10 @@
<ParseRTTomTop dest="5">
<!--Grabs All Critics first in case Top Critics is empty-->
<RegExp input="$$1" output="<details><rating
max="100">\1</rating><votes>\2</votes></details>"
dest="5">
- <expression
noclean="1">"all-critics-numbers".*?([0-9]+).*?Reviews
Counted:.*?([0-9]+)</expression>
+ <expression
noclean="1">"all-critics-numbers".*?"ratingValue">([0-9]+).*?Reviews
Counted:.*?([0-9]+)</expression>
</RegExp>
<RegExp input="$$1" output="<details><rating
max="100">\1</rating><votes>\2</votes></details>"
dest="5">
- <expression
noclean="1">"top-critics-numbers".*?([0-9]+).*?Critic Reviews:
([0-9]+)</expression>
+ <expression
noclean="1">"top-critics-numbers".*?"ratingValue">([0-9]+).*?Reviews
Counted:.*?([0-9]+)</expression>
</RegExp>
</ParseRTTomTop>
@@ -50,7 +50,7 @@
<expression
noclean="1">"all-critics-numbers".*?Average.*?([0-9.]+).*?Reviews
Counted:.*?([0-9]+)</expression>
</RegExp>
<RegExp input="$$1"
output="<details><rating>\1</rating><votes>\2</votes></details>"
dest="5">
- <expression
noclean="1">"top-critics-numbers".*?Average.*?([0-9.]+).*?Critic
Reviews: ([0-9]+)</expression>
+ <expression
noclean="1">"top-critics-numbers".*?Average.*?([0-9.]+).*?Critic
Reviews:\s([0-9]+)</expression>
</RegExp>
</ParseRTAveTop>
@@ -62,7 +62,7 @@
</GetRTOutlineById>
<ParseRTOutline dest="5">
<RegExp input="$$1"
output="<details><outline>\1</outline></details>"
dest="5">
- <expression
noclean="1">Critics\sConsensus:</span>\s([^<]+)</p></expression>
+ <expression trim="1"
noclean="1">Critics\sConsensus:</span>\s*([^<]+)</p></expression>
</RegExp>
<RegExp input="$$5" output="" dest="5">
<expression><details><outline>No consensus
yet.</outline></details></expression>
@@ -77,7 +77,7 @@
</GetRTCConsensusToPlotById>
<ParseRTCConsensusToPlot dest="5">
<RegExp input="$$1"
output="<details><plot>\1</plot></details>" dest="5">
- <expression
noclean="1">Critics\sConsensus:</span>\s([^<]+)</p></expression>
+ <expression trim="1"
noclean="1">Critics\sConsensus:</span>\s*([^<]+)</p></expression>
</RegExp>
<RegExp input="$$5" output="" dest="5">
<expression><details><plot>No consensus
yet.</plot></details></expression>
@@ -92,7 +92,7 @@
</GetRTPlotById>
<ParseRTPlot dest="5">
<RegExp input="$$1"
output="<details><plot>\1\2</plot></details>" dest="5">
- <expression trim="1">class="movie_synopsis"
itemprop="description">[^\w]*([^\n]*)[^>]*>\s([^~<]*)</expression>
+ <expression trim="1"><h2>Movie
Info</h2>[^\w]*([^\n]*)[^>]*>\s([^~<]*)</expression>
</RegExp>
</ParseRTPlot>
</scraperfunctions>
\ No newline at end of file
-----------------------------------------------------------------------
Summary of changes:
metadata.common.rt.com/changelog.txt | 3 +++
metadata.common.rt.com/rt.xml | 14 +++++++-------
2 files changed, 10 insertions(+), 7 deletions(-)
hooks/post-receive
--
Scrapers
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons