Little fix to support.match
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user