A feature-rich command-line audio/video downloader
[extractor/common] Clarify when and when not we generate the filename
Philipp Hagemeister9d4288b2d4a4
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.pyindex 6c5d77e583..582eb4f5be 100644--- a/youtube_dl/extractor/common.py+++ b/youtube_dl/extractor/common.py@@ -238,7 +238,7 @@ class InfoExtractor(object):except AttributeError:url = url_or_requestif len(url) > 200:- h = hashlib.md5(url).hexdigest()+ h = u'___' + hashlib.md5(url).hexdigest()url = url[:200 - len(h)] + hraw_filename = ('%s_%s.dump' % (video_id, url))filename = sanitize_filename(raw_filename, restricted=True)