mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-24 03:57:14 -04:00
Join urls
This commit is contained in:
parent
67657723ca
commit
a40bfd8374
1 changed files with 33 additions and 33 deletions
|
@ -112,7 +112,6 @@ class MusicDL(list):
|
||||||
self.db = []
|
self.db = []
|
||||||
|
|
||||||
def handle_urls(self, urls):
|
def handle_urls(self, urls):
|
||||||
for url in urls:
|
|
||||||
"""Download a url.
|
"""Download a url.
|
||||||
|
|
||||||
:param url:
|
:param url:
|
||||||
|
@ -120,6 +119,7 @@ class MusicDL(list):
|
||||||
:raises InvalidSourceError
|
:raises InvalidSourceError
|
||||||
:raises ParsingError
|
:raises ParsingError
|
||||||
"""
|
"""
|
||||||
|
url = ' '.join(urls)
|
||||||
# youtube is handled by youtube-dl, so much of the
|
# youtube is handled by youtube-dl, so much of the
|
||||||
# processing is not necessary
|
# processing is not necessary
|
||||||
youtube_urls = self.youtube_url_parse.findall(url)
|
youtube_urls = self.youtube_url_parse.findall(url)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue