mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-28 14:04:49 -04:00
Merge branch 'dev'
This commit is contained in:
commit
b06c3512be
3 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "streamrip"
|
name = "streamrip"
|
||||||
version = "0.6.5"
|
version = "0.6.6"
|
||||||
description = "A fast, all-in-one music ripper for Qobuz, Deezer, Tidal, and SoundCloud"
|
description = "A fast, all-in-one music ripper for Qobuz, Deezer, Tidal, and SoundCloud"
|
||||||
authors = ["nathom <nathanthomas707@gmail.com>"]
|
authors = ["nathom <nathanthomas707@gmail.com>"]
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
"""streamrip: the all in one music downloader."""
|
"""streamrip: the all in one music downloader."""
|
||||||
|
|
||||||
__version__ = "0.6.5"
|
__version__ = "0.6.6"
|
||||||
|
|
|
@ -401,7 +401,7 @@ def get_cover_urls(resp: dict, source: str) -> dict:
|
||||||
)
|
)
|
||||||
|
|
||||||
if source == "deezer":
|
if source == "deezer":
|
||||||
return OrderedDict(
|
cover_urls = OrderedDict(
|
||||||
{
|
{
|
||||||
sk: resp.get(rk) # size key, resp key
|
sk: resp.get(rk) # size key, resp key
|
||||||
for sk, rk in zip(
|
for sk, rk in zip(
|
||||||
|
@ -410,5 +410,9 @@ def get_cover_urls(resp: dict, source: str) -> dict:
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
if cover_urls["large"] is None and resp.get("cover_big") is not None:
|
||||||
|
cover_urls["large"] = resp["cover_big"]
|
||||||
|
|
||||||
|
return cover_urls
|
||||||
|
|
||||||
raise InvalidSourceError(source)
|
raise InvalidSourceError(source)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue