How to output data from a Table tag table in Puppeteer crawling to CSV

We use Puppeteer as a crawler. Sometimes you are crawling and want to retrieve data from a table created by a Table tag on your site. With Python, this can be done elegantly by extracting only the tags below the Table tag from the html and then using Pandas to generate a DataFrame. JavaScript also …