diff --git a/media/scraper.py b/media/scraper.py index 0026d61..35139a2 100644 --- a/media/scraper.py +++ b/media/scraper.py @@ -23,7 +23,7 @@ class BedetequeScraper: :return: CSRF token """ response = self.session.get(self.referer).content.decode() - regex = r'csrf_token_bedetheque\"\s*value=\"(\w*)\"' + regex = r'csrf_token_bel\"\s*value=\"(\w*)\"' return re.search(regex, response).group(1) def search_by_isbn(self, isbn: str) -> [str]: