'info_dict': {
'id': '0ByeS4oOUV-49Zzh4R1J6R09zazQ',
'ext': 'mp4',
'title': 'Big Buck Bunny.mp4',
'info_dict': {
'id': '0ByeS4oOUV-49Zzh4R1J6R09zazQ',
'ext': 'mp4',
'title': 'Big Buck Bunny.mp4',
def _real_extract(self, url):
video_id = self._match_id(url)
webpage = self._download_webpage(
def _real_extract(self, url):
video_id = self._match_id(url)
webpage = self._download_webpage(
reason = self._search_regex(r'"reason"\s*,\s*"([^"]+)', webpage, 'reason', default=None)
if reason:
reason = self._search_regex(r'"reason"\s*,\s*"([^"]+)', webpage, 'reason', default=None)
if reason:
resolution = fmt.split('/')[1]
width, height = resolution.split('x')
formats.append({
resolution = fmt.split('/')[1]
width, height = resolution.split('x')
formats.append({
'format_id': fmt_id,
'resolution': resolution,
'width': int_or_none(width),
'format_id': fmt_id,
'resolution': resolution,
'width': int_or_none(width),