Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vitiko98 committed Feb 3, 2021
1 parent a73d5c7 commit 5cda0e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion qobuz_dl/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import qobuz_dl.spoofbuz as spoofbuz
from qobuz_dl import downloader, qopy
from qobuz_dl.color import CYAN, OFF, RED, YELLOW, DF, RESET
from qobuz_dl.exceptions import NonStreamable
from qobuz_dl.db import create_db, handle_download_id

WEB_URL = "https://play.qobuz.com/"
Expand Down Expand Up @@ -122,7 +123,7 @@ def download_from_id(self, item_id, album=True, alt_path=None):
self.no_cover,
)
handle_download_id(self.downloads_db, item_id, add_id=True)
except requests.exceptions.RequestException as e:
except (requests.exceptions.RequestException, NonStreamable) as e:
logger.error(f"{RED}Error getting release: {e}", exc_info=True)

def handle_url(self, url):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read_file(fname):

setup(
name=pkg_name,
version="0.9.4",
version="0.9.5",
author="Vitiko",
author_email="[email protected]",
description="The complete Lossless and Hi-Res music downloader for Qobuz",
Expand Down

0 comments on commit 5cda0e4

Please sign in to comment.