summaryrefslogtreecommitdiff
path: root/crocoite/data/click.yaml
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-12-06 19:24:51 +0100
committerLars-Dominik Braun <lars@6xq.net>2018-12-06 19:24:51 +0100
commit57afd5ccf82f08ab19de4f9ee49ea0a5d34e41a1 (patch)
tree166e1d6a447c191f3210997626c0b56ffab96bf6 /crocoite/data/click.yaml
parent6ad8539ec313e1b667e6abd6e3299ccc4a5ebf78 (diff)
downloadcrocoite-57afd5ccf82f08ab19de4f9ee49ea0a5d34e41a1.tar.gz
crocoite-57afd5ccf82f08ab19de4f9ee49ea0a5d34e41a1.tar.bz2
crocoite-57afd5ccf82f08ab19de4f9ee49ea0a5d34e41a1.zip
behavior: Fix patreon selector
And that proves their CSS class names are not stable and cannot be used.
Diffstat (limited to 'crocoite/data/click.yaml')
-rw-r--r--crocoite/data/click.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/crocoite/data/click.yaml b/crocoite/data/click.yaml
index d33eee3..b86bbb8 100644
--- a/crocoite/data/click.yaml
+++ b/crocoite/data/click.yaml
@@ -54,9 +54,8 @@ selector:
match: ^www\.patreon\.com$
selector:
- description: load more content
- # I’ve been trying to avoid these generated css class selectors *so* hard,
- # but it’s just not possible on this one.
- selector: div.sc-bZQynM.fSJOpK button
+ # this selector is so long, because there are no stable css classes
+ selector: div.col-xs-12 > div > div > div > div[display="flex"] > div > button[tabindex="0"][color="tertiary"][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"]