summaryrefslogtreecommitdiff
path: root/crocoite
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2019-07-04 14:41:34 +0200
committerLars-Dominik Braun <lars@6xq.net>2019-07-04 14:41:34 +0200
commit8846ba569d39efdb35b6ce0ca80d82f3f366d115 (patch)
treee45e07e5b016b066b0b4b96ba6c14729f7c342aa /crocoite
parent799c79638b9bdebd7d04c524a2dd6e8779057679 (diff)
downloadcrocoite-8846ba569d39efdb35b6ce0ca80d82f3f366d115.tar.gz
crocoite-8846ba569d39efdb35b6ce0ca80d82f3f366d115.tar.bz2
crocoite-8846ba569d39efdb35b6ce0ca80d82f3f366d115.zip
behavior: Update click selector list
Remove instagram, no stable CSS names. Update gab.
Diffstat (limited to 'crocoite')
-rw-r--r--crocoite/data/click.yaml21
1 files changed, 3 insertions, 18 deletions
diff --git a/crocoite/data/click.yaml b/crocoite/data/click.yaml
index aa49831..cc6634e 100644
--- a/crocoite/data/click.yaml
+++ b/crocoite/data/click.yaml
@@ -46,13 +46,6 @@ selector:
throttle: 500
urls: ["https://old.reddit.com/r/subredditcancer/comments/b2b80f/we_are_moderators_of_rwatchpeopledie_amaa_just/"]
---
-match: ^www\.instagram\.com$
-selector:
- - description: load more comments
- selector: article div ul li button[type=button]
- multi: True
- urls: ["https://www.instagram.com/p/BuqGbgJHCCP/"]
----
match: ^www\.youtube\.com$
selector:
- description: expand comment thread
@@ -75,20 +68,12 @@ selector:
- description: load more replies
selector: div > a[scale="0"][color=blue][size="1"]
---
-# gab uses multiple domains without any preference for either (i.e. redirect),
-# so we need to support them all
-match: ^(www\.)?gab\.(ai|com)$
+match: ^(www\.)?gab\.com$
selector:
- - description: more replies
- selector: post-detail post-comment .post-comment__replies__count a
- urls: ["https://gab.ai/gab/posts/40014689", "https://www.gab.com/gab/posts/40014689"]
- - description: more comments
- selector: post-detail .post-comment-list__loading a
- urls: ["https://gab.ai/gab/posts/41804462", "https://www.gab.com/gab/posts/41804462"]
- description: more posts
- selector: post-list a.post-list__load-more
+ selector: div.item-list[role=feed] button.load-more
multi: True
- urls: ["https://gab.ai/gab", "https://www.gab.com/gab"]
+ urls: ["https://gab.com/gab"]
---
match: ^(www\.)?github\.com$
selector: