JS Cheerio question

EchoChillTV

BANNED
Joined
May 14, 2020
Messages
30
Reaction score
11
Since making web app in NodeJS I switched from Python to JS and using cheerio for web scraping.

Question is how to find element from xpath, cause I can not locate element I want. Site is camvideos.tv and from opening one video and inspecting there is video element and can not locate with JS cheerio and with Python I can.
 
You can copy the xPath location via chrome's devTool (right click) :

Untitled-1.jpg


But it's easier to use CSS selectors, tell us what's your target element I might give you few techniques to search through the DOM.
 
Back
Top