summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-02-11 09:34:49 -0800
committerSergey M. <dstftw@gmail.com>2014-02-11 09:34:49 -0800
commitc207c1044e453fc451ec508463a43ee242fbdcfc (patch)
treedbfc8abcaec6b847d06afe7e7fe280a39f0c32cc
parent008fda0f088eec1f780cf2b88b19ae2acd0e7cb4 (diff)
parent79629ec717e990db1556b1c2456c13efa75c060e (diff)
downloadyoutube-dl-c207c1044e453fc451ec508463a43ee242fbdcfc.tar.gz
youtube-dl-c207c1044e453fc451ec508463a43ee242fbdcfc.tar.xz
youtube-dl-c207c1044e453fc451ec508463a43ee242fbdcfc.zip
Merge pull request #2372 from pulpe/dropbox_fix
[dropbox] replace not working test
-rw-r--r--youtube_dl/extractor/dropbox.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/youtube_dl/extractor/dropbox.py b/youtube_dl/extractor/dropbox.py
index d74981eea..41208c976 100644
--- a/youtube_dl/extractor/dropbox.py
+++ b/youtube_dl/extractor/dropbox.py
@@ -10,11 +10,12 @@ from .common import InfoExtractor
 class DropboxIE(InfoExtractor):
     _VALID_URL = r'https?://(?:www\.)?dropbox[.]com/s/(?P<id>[a-zA-Z0-9]{15})/(?P<title>[^?#]*)'
     _TEST = {
-        'url': 'https://www.dropbox.com/s/mcnzehi9wo55th4/20131219_085616.mp4',
-        'file': 'mcnzehi9wo55th4.mp4',
-        'md5': 'f6d65b1b326e82fd7ab7720bea3dacae',
+        'url': 'https://www.dropbox.com/s/0qr9sai2veej4f8/THE_DOCTOR_GAMES.mp4',
+        'md5': '8ae17c51172fb7f93bdd6a214cc8c896',
         'info_dict': {
-            'title': '20131219_085616'
+            'id': '0qr9sai2veej4f8',
+            'ext': 'mp4',
+            'title': 'THE_DOCTOR_GAMES'
         }
     }