X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Futils.py;h=e924b1688d1d7e61c3ef8aded9fab8d98a873394;hb=984e8e14ea266d406c253098f953e727ca8c19c7;hp=9124c36212481b860b92d4bc35676e4ab3453bd4;hpb=d05cfe06006c4a44032e95dde047d5e12be8674c;p=youtube-dl diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 9124c3621..e924b1688 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -1423,7 +1423,7 @@ def escape_rfc3986(s): """Escape non-ASCII characters as suggested by RFC 3986""" if sys.version_info < (3, 0) and isinstance(s, unicode): s = s.encode('utf-8') - return compat_urllib_parse.quote(s, "%/;:@&=+$,!~*'()?#[]") #"%/;:@&=+$,!~*'()?#[]+" #?#[]+ + return compat_urllib_parse.quote(s, "%/;:@&=+$,!~*'()?#[]") def escape_url(url):