mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-20 18:25:30 -04:00
Add scrape option
Signed-off-by: nathom <nathanthomas707@gmail.com>
This commit is contained in:
parent
e6dfc3f507
commit
5cd3913976
2 changed files with 12 additions and 0 deletions
|
@ -316,6 +316,9 @@ class MusicDL(list):
|
|||
if arguments["conversion"]["enabled"]:
|
||||
item.convert(**arguments["conversion"])
|
||||
|
||||
def scrape(self, featured_list: str):
|
||||
self.extend(self.search("qobuz", featured_list, "featured", limit=500))
|
||||
|
||||
def get_client(self, source: str) -> Client:
|
||||
"""Get a client given the source and log in.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue