indentation fail :/
This commit is contained in:
parent
e5a2f88e0b
commit
ae630b7236
1 changed files with 4 additions and 4 deletions
|
@ -39,10 +39,10 @@ class YouTube:
|
|||
self._infos = YoutubeDL({"quiet": True}).extract_info(url, download=False)
|
||||
if self._infos is None:
|
||||
raise RuntimeError(f'Extraction not possible for "{url}"')
|
||||
self.length = self._infos["duration"]
|
||||
self.title = self._infos["title"]
|
||||
self.author = self._infos["channel"]
|
||||
self.watch_url = url
|
||||
self.length = self._infos["duration"]
|
||||
self.title = self._infos["title"]
|
||||
self.author = self._infos["channel"]
|
||||
self.watch_url = url
|
||||
else:
|
||||
self.length = 0
|
||||
self.title = ""
|
||||
|
|
Loading…
Add table
Reference in a new issue