Little fix to support.match

This commit is contained in:
Alhaziel
2019-05-08 21:46:55 +02:00
parent a7e915f8aa
commit 498579e5b0

View File

@@ -418,6 +418,7 @@ def typo(string, typography=''):
def match(item, patron='', patron_block='', headers='', url=''):
matches = []
url = url if url else item.url
data = httptools.downloadpage(url, headers=headers).data.replace("'", '"')
data = re.sub('\n|\t', '', data)