add comment

This commit is contained in:
2023-07-23 12:29:14 +02:00
parent a1ac365fad
commit e62327c64f

View File

@ -204,6 +204,7 @@ class StreamProvider:
class StreamlinkRunner(StreamProvider):
def stream(self):
if "youtube.com" in urllib.parse.urlparse(self.upstream).hostname.lower():
# YouTube doesn't work with StreamLink as of 23-jul-2023
return StreamData(None, None, None, None, None, None, False)
try:
session = None