Fix httptools e support per Matrix

This commit is contained in:
Alhaziel
2020-02-06 19:10:53 +01:00
parent e24f8782c2
commit edb61e7383
2 changed files with 21 additions and 12 deletions
+4
View File
@@ -383,6 +383,10 @@ def downloadpage(url, **opt):
response['data'] = req.content
response['url'] = req.url
if type(response['data']) != str:
response['data'] = response['data'].decode('UTF-8')
if not response['data']:
response['data'] = ''
try: