2 from __future__ import unicode_literals
6 from .common import InfoExtractor
9 class DropboxIE(InfoExtractor):
10 _VALID_URL = r'https?://(?:www\.)?dropbox[.]com/s/(?P<id>[a-zA-Z0-9]{15})/(?P<title>[^?#]*)'
12 'url': 'https://www.dropbox.com/s/mcnzehi9wo55th4/20131219_085616.mp4',
13 'file': 'mcnzehi9wo55th4.mp4',
14 'md5': '2cec58eb277054eca0dbaaf3bdc72564',
16 'title': '20131219_085616'
20 def _real_extract(self, url):
21 mobj = re.match(self._VALID_URL, url)
22 video_id = mobj.group('id')
23 title = mobj.group('title')
24 video_url = url + '?dl=1'