aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/dropbox.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-07-21 13:55:47 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-07-21 13:55:47 +0200
commitf1f725c6a0e567283704046fc21614f4826e77fd (patch)
treedf06e0c709dfd25b31af517836ce0a774f8c9a03 /youtube_dl/extractor/dropbox.py
parent06c155420fda2a922a7219dd6758f42b868e6d96 (diff)
[dropbox] Fix title encoding on Python 2
Diffstat (limited to 'youtube_dl/extractor/dropbox.py')
-rw-r--r--youtube_dl/extractor/dropbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/dropbox.py b/youtube_dl/extractor/dropbox.py
index 1711f0263..9f569aa93 100644
--- a/youtube_dl/extractor/dropbox.py
+++ b/youtube_dl/extractor/dropbox.py
@@ -5,7 +5,7 @@ import os.path
import re
from .common import InfoExtractor
-from ..utils import compat_urllib_parse
+from ..utils import compat_urllib_parse_unquote
class DropboxIE(InfoExtractor):
@@ -23,7 +23,7 @@ class DropboxIE(InfoExtractor):
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)
video_id = mobj.group('id')
- fn = compat_urllib_parse.unquote(mobj.group('title'))
+ fn = compat_urllib_parse_unquote(mobj.group('title'))
title = os.path.splitext(fn)[0]
video_url = url + '?dl=1'