From 8846ba569d39efdb35b6ce0ca80d82f3f366d115 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 4 Jul 2019 14:41:34 +0200 Subject: behavior: Update click selector list Remove instagram, no stable CSS names. Update gab. --- crocoite/data/click.yaml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'crocoite/data') 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: -- cgit v1.2.3