This commit is contained in:
vitiko98 2020-12-14 22:06:29 -04:00
parent 4179f3bc73
commit b3688429de
3 changed files with 5 additions and 3 deletions

View File

@ -67,7 +67,7 @@ qobuz-dl dl https://play.qobuz.com/artist/2528676 --albums-only
``` ```
#### Last.fm playlists #### 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/<your profile>/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/<your profile>/playlists` (e.g. https://www.last.fm/user/vitiko98/playlists) to get started.
Download a last.fm playlist in the maximum quality Download a last.fm playlist in the maximum quality
``` ```
@ -139,7 +139,7 @@ commands:
``` ```
## Module usage ## 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 ```python
from qobuz_dl.core import QobuzDL from qobuz_dl.core import QobuzDL

View File

@ -146,6 +146,8 @@ class QobuzDL:
for url in urls: for url in urls:
if "last.fm" in url: if "last.fm" in url:
self.download_lastfm_pl(url) self.download_lastfm_pl(url)
elif os.path.isfile(url):
self.download_from_txt_file(url)
else: else:
self.handle_url(url) self.handle_url(url)

View File

@ -13,7 +13,7 @@ requirements = read_file("requirements.txt").strip().split()
setup( setup(
name=pkg_name, name=pkg_name,
version="0.5.0", version="0.5.5.1",
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",