HF RL Explorer

Task: Use XPath with HTML parsing in Python

Task: Use XPath with HTML parsing in Python: a task in Terminal-Lego-15k (Harbor dataset). You are given a small HTML document and a Python script skeleton. Your job is to write a working terminal-based solution that selects elements using XPath-style queries and prints the matching text content.

The task

You are given a small HTML document and a Python script skeleton. Your job is to write a working terminal-based solution that selects elements using XPath-style queries and prints the matching text content.

Part of PrimeIntellect/Terminal-Lego-15k.