1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-07 21:24:28 +08:00

fix problem with umlauts in title

This commit is contained in:
Markus Müller
2015-02-26 00:13:14 +01:00
Unverified
parent 13d8fbef30
commit 34a73ffdbd
+1 -1
View File
@@ -119,7 +119,7 @@ class RtmpFD(FileDownloader):
# Download using rtmpdump. rtmpdump returns exit code 2 when
# the connection was interrumpted and resuming appears to be
# possible. This is part of rtmpdump's normal usage, AFAIK.
basic_args = ['rtmpdump', '--verbose', '-r', url, '-o', tmpfilename]
basic_args = ['rtmpdump', '--verbose', '-r', url, '-o', tmpfilename.encode('ascii', 'replace')]
if player_url is not None:
basic_args += ['--swfVfy', player_url]
if page_url is not None: