HF RL Explorer

Task: Parse HTML Table with BeautifulSoup

Task: Parse HTML Table with BeautifulSoup: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that parses an HTML table with the class lineItemsTable and extracts all ticket/row data from it. The script should read an HTML file, find the table, and output the parsed data in a…

The task

Write a Python script that parses an HTML table with the class `lineItemsTable` and extracts all ticket/row data from it. The script should read an HTML file, find the table, and output the parsed data in a structured CSV format.

Part of PrimeIntellect/Terminal-Lego-15k.