mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-24 12:05:26 +01:00
Fix #60
This commit is contained in:
parent
a73d5c7d15
commit
5cda0e403c
@ -14,6 +14,7 @@ from pathvalidate import sanitize_filename
|
|||||||
import qobuz_dl.spoofbuz as spoofbuz
|
import qobuz_dl.spoofbuz as spoofbuz
|
||||||
from qobuz_dl import downloader, qopy
|
from qobuz_dl import downloader, qopy
|
||||||
from qobuz_dl.color import CYAN, OFF, RED, YELLOW, DF, RESET
|
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
|
from qobuz_dl.db import create_db, handle_download_id
|
||||||
|
|
||||||
WEB_URL = "https://play.qobuz.com/"
|
WEB_URL = "https://play.qobuz.com/"
|
||||||
@ -122,7 +123,7 @@ class QobuzDL:
|
|||||||
self.no_cover,
|
self.no_cover,
|
||||||
)
|
)
|
||||||
handle_download_id(self.downloads_db, item_id, add_id=True)
|
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)
|
logger.error(f"{RED}Error getting release: {e}", exc_info=True)
|
||||||
|
|
||||||
def handle_url(self, url):
|
def handle_url(self, url):
|
||||||
|
2
setup.py
2
setup.py
@ -13,7 +13,7 @@ requirements = read_file("requirements.txt").strip().split()
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name=pkg_name,
|
name=pkg_name,
|
||||||
version="0.9.4",
|
version="0.9.5",
|
||||||
author="Vitiko",
|
author="Vitiko",
|
||||||
author_email="vhnz98@gmail.com",
|
author_email="vhnz98@gmail.com",
|
||||||
description="The complete Lossless and Hi-Res music downloader for Qobuz",
|
description="The complete Lossless and Hi-Res music downloader for Qobuz",
|
||||||
|
Loading…
Reference in New Issue
Block a user