summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2019-10-18 22:08:57 +0200
committerLars-Dominik Braun <lars@6xq.net>2019-10-18 22:08:57 +0200
commit75fe0d7dec4f8c06f29c861282c10b99d0d664f8 (patch)
treeda39accecbd15456ca55e5d868f65a96ac2f98c2
parentf800211fb5d0755f6d1800fd4b830e78b050c0d7 (diff)
downloadcrocoite-75fe0d7dec4f8c06f29c861282c10b99d0d664f8.tar.gz
crocoite-75fe0d7dec4f8c06f29c861282c10b99d0d664f8.tar.bz2
crocoite-75fe0d7dec4f8c06f29c861282c10b99d0d664f8.zip
click: Fix click selectors
YouTube and Vimeo.
-rw-r--r--crocoite/data/click.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/crocoite/data/click.yaml b/crocoite/data/click.yaml
index c802573..373614e 100644
--- a/crocoite/data/click.yaml
+++ b/crocoite/data/click.yaml
@@ -51,7 +51,7 @@ selector:
match: ^www\.youtube\.com$
selector:
- description: Expand single comment.
- selector: ytd-comment-thread-renderer span.more-button
+ selector: ytd-comment-thread-renderer span[slot=more-button]
urls: ["https://www.youtube.com/watch?v=udtFqQuBFSc"]
- description: Show more comment thread replies.
selector: div.ytd-comment-replies-renderer > yt-next-continuation > paper-button
@@ -106,7 +106,7 @@ 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
+ selector: div.profile_main div.profile-load-more__button--wrapper button
# XXX: this works when using a non-headless browser, but does not otherwise
# - description: Expand video comments
# urls: ["https://vimeo.com/22439234"]