True file names are a thing.

This commit is contained in:
Kepoor Hampond 2017-01-26 20:08:23 -08:00
parent c9972e5762
commit d4a2ea3382
3 changed files with 8 additions and 1 deletions

View file

@ -16,4 +16,7 @@ CONFIG = dict(
# If you want numbered file names
numbered_file_names = True,
# Downloaded file names
download_file_names = True,
)

View file

@ -240,6 +240,10 @@ class Manager:
filename = track + strip_special_chars(song) + ".mp3"
if CONFIG["download_file_names"]:
filename = track + strip_special_chars((BeautifulSoup(\
urlopen("http://www.youtube.com/watch?v=" + audio_code), 'html.parser')).title.string.lower()) + ".mp3"
ydl_opts = {
'format': 'bestaudio/best',
#'quiet': True,

View file

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='irs',
version='4.7.22',
version='4.8.22',
description='A music downloader that just gets metadata.',
url='https://github.com/kepoorhampond/irs',
author='Kepoor Hampond',