diff --git a/src/main/utils/scraper.py b/src/main/utils/scraper.py index 1c4fabc..32ec51c 100644 --- a/src/main/utils/scraper.py +++ b/src/main/utils/scraper.py @@ -16,6 +16,7 @@ async def get_post(url): return value else: raise IndexError + except IndexError: try: raise exc.MatchError(re.search('\/([^\/]+)$', url).group(1))