HF RL Explorer

Task: Extract Data from HTML Specification Tables Using XPath Sibling Selection

Task: Extract Data from HTML Specification Tables Using XPath Sibling Selection: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that parses HTML specification tables where data is organized in name/value pairs using table rows with specific CSS classes. The HTML…

The task

You need to write a Python script that parses HTML specification tables where data is organized in name/value pairs using table rows with specific CSS classes. The HTML structure uses `<td>` elements with class "name" for labels and class "desc" for values, arranged as sibling elements within table rows.

Part of PrimeIntellect/Terminal-Lego-15k.