Minor cleanup of comments, typing and gitignore
This commit is contained in:
1 parent
28c0f8b75e
commit
7dc474286f
4 files changed
+11
-8
No files matched your search
@@ -444,7 +444,7 @@ class _AuthState:
|
||||
jar = cast(aiohttp.CookieJar, session.cookie_jar)
|
||||
if not self._hasattrs("client_version", "device_id"):
|
||||
async with self._twitch.request(
|
||||
"GET", BASE_URL, headers=self.headers() # (user_agent=ANDROID_USER_AGENT)
|
||||
"GET", BASE_URL, headers=self.headers()
|
||||
) as response:
|
||||
page_html = await response.text("utf8")
|
||||
match = re.search(r'twilightBuildID="([-a-z0-9]+)"', page_html)
|
||||
|
||||
Reference in new issue
Block a user