Skip to content

Tag: cheerio

Error: Attribute selector didn’t terminate

I’m trying to scrape data on the transfermarket website, but it’s giving me the error I posted. I’m using Javascript, Cheerio and Axios. The error it gave: Answer This line is the error: AllElements[1] is not a string, so its probably turning into “[object Object]” You should wri…

pinterest web scrape image

I’m trying to get a url from a pinterest image and send a url of it through the general profile of the user on pinterest, but it’s returning me undefined my code: Answer The problem is that the page is still loading. #mweb-unauth-container > div > div:nth-child(2) doesn’t exist, becaus…

How to get immediate child of using cheerio

I have html file html content like this : After Loading html content in cheerio module and while searching for immediate li childs it’s getting all items from child ul as well like this : When i print liElements in after converting to html content i am getting output like this : You can see content from…