From 002b9f5a766699aa280ee1e96b308752f0fd557b Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 4 May 2019 21:25:52 +0300 Subject: behavior: Add clicking for imgur.com --- crocoite/data/click.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/crocoite/data/click.yaml b/crocoite/data/click.yaml index 1081b0e..c9f254a 100644 --- a/crocoite/data/click.yaml +++ b/crocoite/data/click.yaml @@ -108,3 +108,15 @@ selector: urls: ["https://steamcommunity.com/app/252950/reviews/?p=1&browsefilter=toprated&filterLanguage=all"] selector: "#GetMoreContentBtn a" multi: True +--- +match: ^imgur\.com$ +selector: + - description: Load more image of an album + urls: ["https://imgur.com/a/JG1yc"] + selector: div.js-post-truncated a.post-loadall + - description: Expand all comments (for snapshots) + urls: ["https://imgur.com/a/JG1yc"] + selector: div.comments-info span.comments-expand + - description: Show bad replies (for snapshots) + urls: ["https://imgur.com/gallery/0l6Yo4r"] + selector: div#comments div.bad-captions a.link -- cgit v1.2.3