Accessibility Specialist. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
It will allow you to then use normal CSS selectors and querySelectorAll etc. to grab info which 99% of the time will be far easier and more robust as the xpath is far more likely to change on a document not using IDs.
Accessibility Specialist. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
Never used Scrapy but I can certainly understand the usage of xpath as I used for ages. I find DOM parser much easier but probably because I am used to CSS.
I enjoyed the article!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You should check out DOM parser - developer.mozilla.org/en-US/docs/W...
It will allow you to then use normal CSS selectors and
querySelectorAlletc. to grab info which 99% of the time will be far easier and more robust as the xpath is far more likely to change on a document not using IDs.Nice Info, I will try.
I usually working with Scrapy to scrap a web, so XPath is just the habit.
Never used Scrapy but I can certainly understand the usage of xpath as I used for ages. I find DOM parser much easier but probably because I am used to CSS.
I enjoyed the article!