From b3688429dea58b01d353aabb29cab9352f3584ad Mon Sep 17 00:00:00 2001 From: vitiko98 Date: Mon, 14 Dec 2020 22:06:29 -0400 Subject: [PATCH] Fix #27 --- README.md | 4 ++-- qobuz_dl/core.py | 2 ++ setup.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1a53976..6ade344 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ qobuz-dl dl https://play.qobuz.com/artist/2528676 --albums-only ``` #### Last.fm playlists -Last.fm has a new feature for creating playlists: you can create your own based on the music you listen or you can import one from popular streaming services like Spotify, Apple Music and Youtube. Visit: `https://www.last.fm/user//playlists` (e.g. https://www.last.fm/user/vitiko98/playlists) to get started. +Last.fm has a new feature for creating playlists: you can create your own based on the music you listen to or you can import one from popular streaming services like Spotify, Apple Music and Youtube. Visit: `https://www.last.fm/user//playlists` (e.g. https://www.last.fm/user/vitiko98/playlists) to get started. Download a last.fm playlist in the maximum quality ``` @@ -139,7 +139,7 @@ commands: ``` ## Module usage -Using `qobuz-dl` as a module is really easy. Basically, the only thing you need is to initialize `QobuzDL` from `core`. +Using `qobuz-dl` as a module is really easy. Basically, the only thing you need is `QobuzDL` from `core`. ```python from qobuz_dl.core import QobuzDL diff --git a/qobuz_dl/core.py b/qobuz_dl/core.py index 4af6630..594e64e 100644 --- a/qobuz_dl/core.py +++ b/qobuz_dl/core.py @@ -146,6 +146,8 @@ class QobuzDL: for url in urls: if "last.fm" in url: self.download_lastfm_pl(url) + elif os.path.isfile(url): + self.download_from_txt_file(url) else: self.handle_url(url) diff --git a/setup.py b/setup.py index 543a205..00e890f 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ requirements = read_file("requirements.txt").strip().split() setup( name=pkg_name, - version="0.5.0", + version="0.5.5.1", author="Vitiko", author_email="vhnz98@gmail.com", description="The complete Lossless and Hi-Res music downloader for Qobuz",