vidstream now correctly exits if no sources found

master
Blatzar 2020-09-30 11:45:25 +00:00 committed by GitHub
parent fea72deecd
commit 543505dda5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,8 @@ class VidStream(BaseExtractor):
"""Gives away the link to another extractor"""
return extractors.get_extractor(i)._get_data(_self)
return {'stream_url': ''}
def _get_link(self, soup):
# Gets:
@ -108,3 +110,4 @@ class Extractor:
def __init__(self, dictionary):
for k, v in dictionary.items():
setattr(self, k, v)