Created
June 13, 2021 07:34
-
-
Save SurendraTamang/77fd02f85bfe3d39b4800cbbcb1667b3 to your computer and use it in GitHub Desktop.
xpath #shorts find while working with that
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
response.xpath(f'{NEIGHBOURHOOD_XPATH}/following-sibling::td//option[not(@value = " ")]/@value').extract() | |
# Here we can use the xpath condition not to include if the value is " " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment