diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-13 10:15:40 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-13 10:15:40 +0200 |
commit | 4e067ceabd705201a16b4c92cf4b23f3b990326c (patch) | |
tree | 939f3a8e5ff3ab9ee414a57a895d3e78e1d46ce3 /inc/3rdparty/site_config/standard/nintendoworldreport.com.txt | |
parent | 58dbe103889148def78b0fc8744d3f94c56a1561 (diff) | |
download | wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.gz wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.tar.zst wallabag-4e067ceabd705201a16b4c92cf4b23f3b990326c.zip |
updated specific configuration for parsing
Diffstat (limited to 'inc/3rdparty/site_config/standard/nintendoworldreport.com.txt')
-rwxr-xr-x[-rw-r--r--] | inc/3rdparty/site_config/standard/nintendoworldreport.com.txt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/inc/3rdparty/site_config/standard/nintendoworldreport.com.txt b/inc/3rdparty/site_config/standard/nintendoworldreport.com.txt index 409a8977..f0e28afb 100644..100755 --- a/inc/3rdparty/site_config/standard/nintendoworldreport.com.txt +++ b/inc/3rdparty/site_config/standard/nintendoworldreport.com.txt | |||
@@ -1,13 +1,13 @@ | |||
1 | body: //div[@id="main"] | 1 | body: //div[@id="main"] |
2 | title: //div[@id="main"]/h3 | 2 | title: //div[@id="main"]/h3 |
3 | 3 | ||
4 | # Remove ‘Review’ and ‘Wii’. | 4 | # Remove ‘Review’ and ‘Wii’. |
5 | strip: //div[@class="badge"] | 5 | strip: //div[@class="badge"] |
6 | 6 | ||
7 | # Remove duplicate title and country flag. | 7 | # Remove duplicate title and country flag. |
8 | strip: //h3 | 8 | strip: //h3 |
9 | 9 | ||
10 | # Commented out below are attempts to extract the author and date, which did not work. | 10 | # Commented out below are attempts to extract the author and date, which did not work. |
11 | # author: //p[@class="extra "]/a | 11 | # author: //p[@class="extra "]/a |
12 | # date: //p[@class="extra "]/span[@class="when"] | 12 | # date: //p[@class="extra "]/span[@class="when"] |
13 | test_url: http://www.nintendoworldreport.com/review/28400 \ No newline at end of file | 13 | test_url: http://www.nintendoworldreport.com/review/28400 \ No newline at end of file |