1
0
Fork 0
mirror of synced 2024-06-23 08:40:41 +12:00

Corrected the URL checked

This commit is contained in:
Phxntxm 2016-08-08 16:40:26 -05:00
parent ff7e5ddee4
commit 906d31bdb3

View file

@ -46,7 +46,7 @@ class Picarto:
return
member_url = member_url['picarto_url']
stream = re.search("(?<=picarto.tv/)(.*)", url).group(1)
stream = re.search("(?<=picarto.tv/)(.*)", member_url).group(1)
url = '{}/channel/{}?key={}'.format(base_url,stream,key)
with aiohttp.ClientSession(headers={"User-Agent": "Bonfire/1.0.0"}) as s:
async with s.get(url) as r: