Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KaitoCross committed Feb 14, 2022
1 parent 8eaa879 commit f0fb018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytchat/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,6 @@ async def get_channelid_async_2nd(client, video_id):
return ret

async def async_is_member_stream(client, video_id):
resp = client.get("https://m.youtube.com/embed/{}".format(quote(video_id)), headers=config.m_headers)
resp = await client.get("https://m.youtube.com/embed/{}".format(quote(video_id)), headers=config.m_headers)
match = "BADGE_STYLE_TYPE_MEMBERS_ONLY" in resp.text
return match

0 comments on commit f0fb018

Please sign in to comment.