diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-08-02 08:59:20 +0200 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-08-02 08:59:20 +0200 |
commit | e968ec6c2244aee600358b3c87648b2409c97945 (patch) | |
tree | a5246151bf8278a0e8053b9dd1ce9d770073c50b /inc/3rdparty/site_config/standard/quora.com.txt | |
parent | 87b723d7620f9b4e1f3870c1d13e1415d1967f0d (diff) | |
parent | 3bb6a8ed2ab40b17d3f3b9925664c8da38ea2570 (diff) | |
download | wallabag-e968ec6c2244aee600358b3c87648b2409c97945.tar.gz wallabag-e968ec6c2244aee600358b3c87648b2409c97945.tar.zst wallabag-e968ec6c2244aee600358b3c87648b2409c97945.zip |
Merge pull request #1266 from wallabag/fix-site-config
Fix site config
Diffstat (limited to 'inc/3rdparty/site_config/standard/quora.com.txt')
-rwxr-xr-x | inc/3rdparty/site_config/standard/quora.com.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/inc/3rdparty/site_config/standard/quora.com.txt b/inc/3rdparty/site_config/standard/quora.com.txt index 732d12d7..f2b75a99 100755 --- a/inc/3rdparty/site_config/standard/quora.com.txt +++ b/inc/3rdparty/site_config/standard/quora.com.txt | |||
@@ -1,8 +1,10 @@ | |||
1 | tidy: no | 1 | tidy: no |
2 | prune: no | 2 | prune: no |
3 | body: //div[contains(@class, 'main_col')] | 3 | body: //div[contains(concat(' ',normalize-space(@class),' '),' Answer ')] | //div[contains(concat(' ',normalize-space(@class),' '),' header ')] | //div[contains(concat(' ',normalize-space(@class),' '),' AnswerWikiArea ')] | //hr |
4 | title: //h1 | 4 | #body: //div[contains(@class, 'main_col')] |
5 | 5 | ||
6 | strip_id_or_class: AnswerFooter | ||
7 | strip_id_or_class: ActionBar | ||
6 | strip_id_or_class: hidden | 8 | strip_id_or_class: hidden |
7 | strip_id_or_class: item_action_bar | 9 | strip_id_or_class: item_action_bar |
8 | strip_id_or_class: answer_voters | 10 | strip_id_or_class: answer_voters |
@@ -13,5 +15,15 @@ strip_id_or_class: view_tag | |||
13 | strip_id_or_class: include_details | 15 | strip_id_or_class: include_details |
14 | strip_id_or_class: sig_edit | 16 | strip_id_or_class: sig_edit |
15 | strip_id_or_class: profile_photo_img | 17 | strip_id_or_class: profile_photo_img |
18 | strip_id_or_class: question_text_icons | ||
16 | 19 | ||
17 | test_url: http://www.quora.com/What-everyday-habit-do-you-wish-you-had-developed-earlier-in-life \ No newline at end of file | 20 | # insert hr between answers |
21 | find_string: <div class="Answer" | ||
22 | replace_string: <hr /><div class="Answer" | ||
23 | |||
24 | test_url: http://www.quora.com/What-everyday-habit-do-you-wish-you-had-developed-earlier-in-life | ||
25 | test_contains: Please provide a specific practical/measurable action-based everyday | ||
26 | test_contains: Exercise every day | ||
27 | |||
28 | test_url: http://www.quora.com/What-is-the-greatest-illusion-in-life | ||
29 | test_contains: What is the greatest illusion in life? | ||