Join urls

This commit is contained in:
Nathan Thomas 2021-06-22 14:17:18 -07:00 committed by GitHub
parent 67657723ca
commit a40bfd8374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,6 @@ class MusicDL(list):
self.db = []
def handle_urls(self, urls):
for url in urls:
"""Download a url.
:param url:
@ -120,6 +119,7 @@ class MusicDL(list):
:raises InvalidSourceError
:raises ParsingError
"""
url = ' '.join(urls)
# youtube is handled by youtube-dl, so much of the
# processing is not necessary
youtube_urls = self.youtube_url_parse.findall(url)