From da178e3d7f4a410eb385a81e753b98cb88bc843d Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 28 Jul 2019 16:46:05 +0200 Subject: behavior: Update click selectors --- crocoite/data/click.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'crocoite/data') diff --git a/crocoite/data/click.yaml b/crocoite/data/click.yaml index cc6634e..757dfb0 100644 --- a/crocoite/data/click.yaml +++ b/crocoite/data/click.yaml @@ -48,8 +48,8 @@ selector: --- match: ^www\.youtube\.com$ selector: - - description: expand comment thread - selector: ytd-comment-thread-renderer div.more-button + - description: expand comment + selector: ytd-comment-thread-renderer span.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 @@ -58,15 +58,9 @@ selector: --- match: ^www\.patreon\.com$ selector: - - description: load more content - # this selector is so long, because there are no stable css classes - selector: div[display="block"] > div > div > div[display="flex"] > div > button[tabindex="0"][type="button"] - urls: ["https://www.patreon.com/nkjemisin"] - description: load more comments - selector: div[display=flex] div[display=block] a[color="dark"][role="button"][tabindex="0"] + selector: div[data-tag=post-card] button[data-tag=loadMoreCommentsCta] urls: ["https://www.patreon.com/posts/what-im-on-22124040"] - - description: load more replies - selector: div > a[scale="0"][color=blue][size="1"] --- match: ^(www\.)?gab\.com$ selector: -- cgit v1.2.3