Improve typing

This commit is contained in:
Nathan Thomas 2021-08-16 13:09:10 -07:00
parent 39d15247e8
commit 7c65dd79fd
2 changed files with 4 additions and 3 deletions

View file

@ -36,6 +36,7 @@ class Spoofer:
r'<script src="(/resources/\d+\.\d+\.\d+-[a-z]\d{3}/bundle\.js)"></script>',
login_page,
)
assert bundle_url_match is not None
bundle_url = bundle_url_match.group(1)
bundle_req = requests.get("https://play.qobuz.com" + bundle_url)
self.bundle = bundle_req.text