From 79d9adf23e9993ae36ad9a89108ab79eec32882a Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 26 May 2019 17:41:35 +0300 Subject: behavior: Add clicking for vimeo.com --- crocoite/data/click.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/crocoite/data/click.yaml b/crocoite/data/click.yaml index c9f254a..aa49831 100644 --- a/crocoite/data/click.yaml +++ b/crocoite/data/click.yaml @@ -120,3 +120,14 @@ selector: - description: Show bad replies (for snapshots) urls: ["https://imgur.com/gallery/0l6Yo4r"] selector: div#comments div.bad-captions a.link +--- +match: ^(www\.)?vimeo\.com$ +selector: + - description: Load more videos on profile page + urls: ["https://vimeo.com/dsam4a"] + selector: div.profile_main div.profile-load-more__button--wrapper button.profile-load-more__button +# XXX: this works when using a non-headless browser, but does not otherwise +# - description: Expand video comments +# urls: ["https://vimeo.com/22439234"] +# selector: section#comments button.iris_comment-more +# multi: True -- cgit v1.2.3