mirror of
https://github.com/soimort/you-get.git
synced 2025-02-09 03:37:52 +03:00
fix trailing whitespace errors
This commit is contained in:
parent
f0a21e8ea5
commit
d5ba59af6c
@ -4,8 +4,8 @@ __all__ = ['songtaste_download']
|
||||
|
||||
from ..common import *
|
||||
import urllib.error
|
||||
def songtaste_download(url, output_dir = '.', merge = True, info_only = False):
|
||||
|
||||
def songtaste_download(url, output_dir = '.', merge = True, info_only = False):
|
||||
if re.match(r'http://www.songtaste.com/song/\d+', url):
|
||||
old_fake_headers = fake_headers
|
||||
id = r1(r'http://www.songtaste.com/song/(\d+)', url)
|
||||
@ -38,7 +38,6 @@ def songtaste_download(url, output_dir = '.', merge = True, info_only = False):
|
||||
download_urls([real_url], title, ext, size, output_dir, refer = url, merge = merge, faker = True)
|
||||
fake_hreaders = old_fake_headers
|
||||
|
||||
|
||||
site_info = "www.songtaste.com"
|
||||
download = songtaste_download
|
||||
download_playlist = playlist_not_supported('songtaste')
|
||||
|
Loading…
Reference in New Issue
Block a user