We are trying to move away from urllib and use requests now. You can import `from flexget.utils import requests` and get the data with `requests.get(url).text` similar to here: https://github.com/Flexget/Flexget/blob/master/flexget/plugins/input/html.py#L75-L76