diff options
| author | Lars-Dominik Braun <lars@6xq.net> | 2019-07-28 16:46:05 +0200 | 
|---|---|---|
| committer | Lars-Dominik Braun <lars@6xq.net> | 2019-07-28 16:46:05 +0200 | 
| commit | da178e3d7f4a410eb385a81e753b98cb88bc843d (patch) | |
| tree | 383fbcd67eed0bf4993bb86e12992bcd1b36f6ca | |
| parent | 89bcb36a0d0b96aad8a717386f1e669c1b98438b (diff) | |
| download | crocoite-da178e3d7f4a410eb385a81e753b98cb88bc843d.tar.gz crocoite-da178e3d7f4a410eb385a81e753b98cb88bc843d.tar.bz2 crocoite-da178e3d7f4a410eb385a81e753b98cb88bc843d.zip | |
behavior: Update click selectors
| -rw-r--r-- | crocoite/data/click.yaml | 12 | 
1 files changed, 3 insertions, 9 deletions
| 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: | 
