-
I just recently learned about htmx as it has gained much attention over the web. I immediately liked the concept as it feels like a move to a more sane direction in web development. However, as I quic…
-
# Description
Due to this https://github.com/wpengine/wp-graphql-content-blocks/issues/185 some selectors are wrong and do not capture accurately the html contents of an attribute. In that case we ca…
-
When adding typing I've discovered some strange (to me) code which is covered by tests and is present since CSS/XPath were added in 2013. Quoting tests:
> `l.replace_css('name', ['p::text', 'div::t…
wRAR updated
5 months ago
-
1. Find each xpath selector.
2. Add data-attribute to wp-calypso React code, adding a wp-calypso unit test for these so they don't get accidentally get removed in the future.
3. Replace the xpath wi…
-
It would be great to support XPath selectors.
Looks like https://github.com/expelledboy/exml gives us a head start.
What are your thoughts?
-
Hi i wanted to know if this supports xpath selectors like this `"//h1[contains(text(),'Search Results')]/following-sibling::div[1]/div"` ?
-
```
def parse_detail(self, response: HtmlResponse, item: DetailDataItem):
selectors = response.jmespath("news.body")
selectors.xpath(".//script|.//style").drop()
item.content = selecto…
-
Thanks for the project, i'm finding it useful, but one thing that stumped me for ages was the following XPath, which would not work but always had worked in PHP. I ended up seeing it was "NAME" inste…
-
Hi,
Is there any way to isolate only the main content of the page being indexed instead of grabbing the entire page?
I'm currently using some bash to do this:
```bash
pup '.main-body .kb-con…
-
They're faster. One thing I can't ensure about them is the possibility to find parent given a child, like on:
`//td/../../table`
or something like that. But I also think that css selector has anothe…