Also learn about XPath, which is often used as a language to selecting nodes in documents.
Scrapy and BeautifulSoup are popular libraries for scraping in Python.