summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2019-05-26 17:41:35 +0300
committerLars-Dominik Braun <lars@6xq.net>2019-05-26 17:41:35 +0300
commit79d9adf23e9993ae36ad9a89108ab79eec32882a (patch)
treea3e9c4f0bd8f0d5f22db945e702ce469412f9aa5
parentf6522475833c084c47f6a3c142feeca1c3b4261f (diff)
downloadcrocoite-79d9adf23e9993ae36ad9a89108ab79eec32882a.tar.gz
crocoite-79d9adf23e9993ae36ad9a89108ab79eec32882a.tar.bz2
crocoite-79d9adf23e9993ae36ad9a89108ab79eec32882a.zip
behavior: Add clicking for vimeo.com
-rw-r--r--crocoite/data/click.yaml11
1 files changed, 11 insertions, 0 deletions
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