scrapehero / selectorlib

A library to read a YML file with Xpath or CSS Selectors and extract data from HTML pages using them
MIT License
65 stars 11 forks source link

Incorrect data scraped, however it shows the correct data in the browser plugin #82

Open Shamatix opened 2 years ago

Shamatix commented 2 years ago

I made a yaml file through your browser plugin. In the preview of the browser plugin it shows the correct data, however when used with Scrapy it returns something else.

https://i.imgur.com/gNfnoAH.png https://i.imgur.com/ooQh2lf.png

So the correct data I want out is the 4.1 however in python it returns me the ID rather than the 4.1

I hope you can help

dbaccello commented 9 months ago

hat happens to me too. With the official plugin everything works perfectly, but from the terminal with the type "Text" are extracted the names of the classes and sometimes even javascript text.