Fix regex.

This commit is contained in:
Sorrow446 2020-02-15 21:53:44 +00:00 committed by GitHub
parent 41cf476c5f
commit ee4df84a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ class Client:
def get_id(self, url):
r = self.session.get(url)
regex = r'digital_comic_id : "(([0-9]{5}))"'
regex = r'digital_comic_id : "(([0-9]+))"'
return re.search(regex, r.text).group(1)
def make_call(self, epoint, params=None):