from .common import InfoExtractor
from ..compat import (
+ compat_urllib_parse_unquote,
compat_urlparse,
)
from ..utils import (
'uploader_id': 'spotted',
}
}, {
- 'url': 'http://veehd.com/video/4665804_Tell-No-One-Ne-le-dis-a-personne-2006-French-EngSoftSubs-Re-Up',
+ 'url': 'http://veehd.com/video/2046729_2012-2009-DivX-Trailer',
'info_dict': {
- 'id': '4665804',
+ 'id': '2046729',
'ext': 'avi',
- 'title': 'Tell No One (Ne le dis a personne) 2006 French(EngSoftSubs) Re-Up',
- 'description': 'md5:d660cca685549776f37165e9a10b60ba',
- 'uploader_id': 'belial2549',
+ 'title': '2012 (2009) DivX Trailer',
+ 'description': 'md5:75435ee95255e6a9838ac6f6f3a2396b',
+ 'uploader_id': 'Movie_Trailers',
}
}]
video_id = self._match_id(url)
# VeeHD seems to send garbage on the first request.
- # See https://github.com/rg3/youtube-dl/issues/2102
+ # See https://github.com/ytdl-org/youtube-dl/issues/2102
self._download_webpage(url, video_id, 'Requesting webpage')
webpage = self._download_webpage(url, video_id)
if config_json:
config = json.loads(config_json)
- video_url = compat_urlparse.unquote(config['clip']['url'])
+ video_url = compat_urllib_parse_unquote(config['clip']['url'])
if not video_url:
video_url = self._html_search_regex(