Merge branch 'dev'

This commit is contained in:
nathom 2021-06-29 11:46:07 -07:00
commit b06c3512be
3 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "streamrip"
version = "0.6.5"
version = "0.6.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"

View file

@ -1,3 +1,3 @@
"""streamrip: the all in one music downloader."""
__version__ = "0.6.5"
__version__ = "0.6.6"

View file

@ -401,7 +401,7 @@ def get_cover_urls(resp: dict, source: str) -> dict:
)
if source == "deezer":
return OrderedDict(
cover_urls = OrderedDict(
{
sk: resp.get(rk) # size key, resp key
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)