diff --git a/src/utils/scraper.py b/src/utils/scraper.py index fa184da..49edfc5 100644 --- a/src/utils/scraper.py +++ b/src/utils/scraper.py @@ -45,6 +45,8 @@ async def query_kheina(url): for e in ('"', '''): content = content.replace(e, '') + content = re.sub('', '', content) + soup = BeautifulSoup(content, 'html5lib') results = soup.find('data', id='results').string results = ast.literal_eval(results)