From 75fe0d7dec4f8c06f29c861282c10b99d0d664f8 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 18 Oct 2019 22:08:57 +0200 Subject: click: Fix click selectors YouTube and Vimeo. --- crocoite/data/click.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crocoite') 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"] -- cgit v1.2.3