Minor cleanup of comments, typing and gitignore

This commit is contained in:
DevilXD committed 2022-12-23 13:17:47 +01:00
1 parent 28c0f8b75e
commit 7dc474286f
4 files changed
+11 -8

No files matched your search

+1 -1
View File
@@ -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)