summaryrefslogtreecommitdiff
path: root/crocoite
diff options
context:
space:
mode:
Diffstat (limited to 'crocoite')
-rw-r--r--crocoite/data/click.yaml10
1 files changed, 6 insertions, 4 deletions
diff --git a/crocoite/data/click.yaml b/crocoite/data/click.yaml
index f88d24d..9ce5bc2 100644
--- a/crocoite/data/click.yaml
+++ b/crocoite/data/click.yaml
@@ -65,18 +65,20 @@ selector:
- description: load more replies
selector: div > a[scale="0"][color=blue][size="1"]
---
-match: ^(www\.)?gab\.ai$
+# gab uses multiple domains without any preference for either (i.e. redirect),
+# so we need to support them all
+match: ^(www\.)?gab\.(ai|com)$
selector:
- description: more replies
selector: post-detail post-comment .post-comment__replies__count a
- urls: ["https://gab.ai/gab/posts/40014689"]
+ 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"]
+ 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
multi: True
- urls: ["https://gab.ai/gab"]
+ urls: ["https://gab.ai/gab", "https://www.gab.com/gab"]
---
match: ^(www\.)?github\.com$
selector: