mirror of
https://github.com/nathom/streamrip.git
synced 2024-09-19 11:18:45 -04:00
Fix TIDAL video downloads #195
This commit is contained in:
parent
c16edbc984
commit
8311fa707b
3 changed files with 3 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "streamrip"
|
||||
version = "1.7"
|
||||
version = "1.6"
|
||||
description = "A fast, all-in-one music ripper for Qobuz, Deezer, Tidal, and SoundCloud"
|
||||
authors = ["nathom <nathanthomas707@gmail.com>"]
|
||||
license = "GPL-3.0-only"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
"""streamrip: the all in one music downloader."""
|
||||
|
||||
__version__ = "1.7"
|
||||
__version__ = "1.6"
|
||||
|
||||
from . import clients, constants, converter, downloadtools, media
|
||||
|
|
|
@ -833,15 +833,13 @@ class Video(Media):
|
|||
"""
|
||||
self.id = id
|
||||
self.client = client
|
||||
self.title = kwargs.get("title", "MusicVideo")
|
||||
self.explicit = kwargs.get("explicit", False)
|
||||
self.tracknumber = kwargs.get("tracknumber", None)
|
||||
|
||||
def load_meta(self, **kwargs):
|
||||
"""Given an id at contruction, get the metadata of the video."""
|
||||
resp = self.client.get(self.id, "video")
|
||||
self.title = resp["title"]
|
||||
self.explicit = resp["explicit"]
|
||||
self.tracknumber = resp["trackNumber"]
|
||||
|
||||
def download(self, **kwargs):
|
||||
"""Download the Video.
|
||||
|
|
Loading…
Reference in a new issue