Newbie wrangling with lxml and currently going through an O'Reilly book. After importing html form lxml, using html.parse returns the following error message:
Error reading file 'http://www.emoji-cheat-sheet.com/': failed to load external entity "http://www.emoji-cheat-sheet.com/"
Below is the code:
from lxml import html
page = html.parse('http://www.emoji-cheat-sheet.com/')
This can also be found in the book relevant repository:
https://github.com/jackiekazil/data-wrangling/blob/master/code/chp11-scraping/lxml_emoji_xpath.py
"hmtl.parse"