diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2019-10-18 22:08:57 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2019-10-18 22:08:57 +0200 |
commit | 75fe0d7dec4f8c06f29c861282c10b99d0d664f8 (patch) | |
tree | da39accecbd15456ca55e5d868f65a96ac2f98c2 /crocoite | |
parent | f800211fb5d0755f6d1800fd4b830e78b050c0d7 (diff) | |
download | crocoite-75fe0d7dec4f8c06f29c861282c10b99d0d664f8.tar.gz crocoite-75fe0d7dec4f8c06f29c861282c10b99d0d664f8.tar.bz2 crocoite-75fe0d7dec4f8c06f29c861282c10b99d0d664f8.zip |
click: Fix click selectors
YouTube and Vimeo.
Diffstat (limited to 'crocoite')
-rw-r--r-- | crocoite/data/click.yaml | 4 |
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"] |