I am trying to scrape a website for some data using Scrapy. I found the table using css but its returning only thread data.
Tried using xpath too but that too didn't help. Actually, the code doesn't have tbody tag because of it the function returns null.
I am trying to scrape this website
def parse(self, response):
table = response.css('div.iw_component div.mobile-collapse div.fund-component div#exposureTabs div.component-tabs-panel div.table-chart-container div.fund-component table#tabsSectorDataTable')
print(table.extract())
I want to access data in the selected table which is present in tbody tag.