youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit ce9c6a30977f06338f323c0c8346782da323f24b
parent 4cfeb46544e274fb7a855bfe017b44186021872d
Author: Ricardo Garcia <sarbalap+freshmeat@gmail.com>
Date:   Sat, 13 Feb 2010 00:19:46 +0100

Fix problem with sanitize_title not replacing Windows directory separator

Diffstat:
Myoutube-dl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube-dl b/youtube-dl @@ -85,7 +85,7 @@ def sanitize_title(utitle): """ utitle = re.sub(ur'(?u)&(.+?);', htmlentity_transform, utitle) if sys.platform == 'win32': - return re.replace(ur'<>:"\|\?\*', u'-', title) + utitle = re.replace(ur'<>:"\|\?\*\\', u'-', utitle) return utitle.replace(unicode(os.sep), u'%') class DownloadError(Exception):