totaldl no youtube playlists
This commit is contained in:
Voussoir 2015-05-16 19:08:25 -07:00
parent 2ad9ef08b1
commit 98146327d7

View file

@ -243,7 +243,7 @@ def handle_youtube(url, customname=None):
url = url.replace('&', '&') url = url.replace('&', '&')
url = url.replace('feature=player_embedded&', '') url = url.replace('feature=player_embedded&', '')
url = url.replace('&feature=player_embedded', '') url = url.replace('&feature=player_embedded', '')
os.system('youtube-dl "{0}" --force-ipv4 -o "/{1}/%(title)s.%(ext)s"'.format(url, DOWNLOAD_DIRECTORY)) os.system('youtube-dl "{0}" --no-playlist --force-ipv4 -o "/{1}/%(title)s.%(ext)s"'.format(url, DOWNLOAD_DIRECTORY))
def handle_twitter(url, customname=None): def handle_twitter(url, customname=None):