Update API url for Picarto.TV (#4970)

This commit is contained in:
jack1142 2021-04-08 21:20:34 +02:00 committed by GitHub
parent aea0db4ef6
commit 39144ed7cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -479,7 +479,7 @@ class PicartoStream(Stream):
token_name = None # This streaming services don't currently require an API key
async def is_online(self):
url = "https://api.picarto.tv/v1/channel/name/" + self.name
url = "https://api.picarto.tv/api/v1/channel/name/" + self.name
async with aiohttp.ClientSession() as session:
async with session.get(url) as r: