Adding new tests using unit test module

This commit is contained in:
Rafael Vargas
2022-07-09 23:22:55 -03:00
parent 2dbc6c3984
commit 4fb9d8d1ba
5 changed files with 77 additions and 5 deletions

View File

@@ -57,6 +57,9 @@ class Downloader():
@run_async
def extract_info(self, url: str) -> List[dict]:
if url == '':
return []
if Utils.is_url(url): # If Url
options = Downloader.__YDL_OPTIONS_EXTRACT
with YoutubeDL(options) as ydl: