Update Bedetheque scraper
This commit is contained in:
parent
1a96b1a2aa
commit
33a7e5adc6
|
@ -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]:
|
||||
|
|
Loading…
Reference in New Issue