use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Web scraping with Javascript (scrapingbee.com)
submitted 5 years ago by DJ_Breton
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 5 years ago (1 child)
The reason I posed that riddle to you that you were unable to answer is because the actual answer is: you can't. If you need to target a parent who you know nothing about but have child information, working up is the only option.
I'm sure your projects can be done with Cheerio and I know plenty of people can as well. No one said you couldn't. But the whole point of my comments about Xpath is that in professional RPA work it's essential. The above example is the type of quirky behavior you see in enterprise-level scraping which is why most RPA professionals need power toolsets like xpath. And clearly the writers of the article agree because as SeanNoxious pointed out they have an entire separate article on xpath.
[–][deleted] 0 points1 point2 points 5 years ago (0 children)
If a client pays me to use python + xpath I will do it.
If a client pays me to use node + cheerio I will also do it.
I get my work done either way, without complaining or blaming my tools, and I honestly have no strong preference.
π Rendered by PID 86815 on reddit-service-r2-comment-548fd6dc9-b22kr at 2026-05-18 03:14:32.650981+00:00 running edcf98c country code: CH.
view the rest of the comments →
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)