diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-12 15:10:05 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-12 15:10:05 +0200 |
commit | d14e3f1e220219571f68a9e83dfc59d9047444fa (patch) | |
tree | c53ec785f3e36bcca07c09f58fa1b496741b6304 | |
parent | 6400371ff93782d25cdbd50aa224c70145b3890a (diff) | |
parent | d59536deea443f4bdac2c5cf1bfeea690810a817 (diff) | |
download | wallabag-d14e3f1e220219571f68a9e83dfc59d9047444fa.tar.gz wallabag-d14e3f1e220219571f68a9e83dfc59d9047444fa.tar.zst wallabag-d14e3f1e220219571f68a9e83dfc59d9047444fa.zip |
Merge pull request #754 from sinisterstuf/about.com
Add support for *.about.com
-rw-r--r-- | inc/3rdparty/site_config/standard/.about.com.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/inc/3rdparty/site_config/standard/.about.com.txt b/inc/3rdparty/site_config/standard/.about.com.txt new file mode 100644 index 00000000..e1ebaee3 --- /dev/null +++ b/inc/3rdparty/site_config/standard/.about.com.txt | |||
@@ -0,0 +1,14 @@ | |||
1 | body: //div[@id='articlebody'] | ||
2 | title: //h1 | ||
3 | author: //p[@id='by']//a | ||
4 | |||
5 | next_page_link: //span[@class='next']/a | ||
6 | # Not the same as below! | ||
7 | |||
8 | prune: yes | ||
9 | tidy: no | ||
10 | |||
11 | # Annoying 'next' links plainly inside the article body | ||
12 | strip: //*[text()[contains(.,'Next: ')]] | ||
13 | |||
14 | test_url: http://psychology.about.com/od/theoriesofpersonality/ss/defensemech.htm | ||