uploader: Nickname of the video uploader.
title: Video title, unescaped.
ext: Video filename extension.
- player_url: SWF Player URL (may be None).
The following fields are optional:
- format: The video format, defaults to ext. Used by --get-format
+ format: The video format, defaults to ext (used for --get-format)
thumbnail: Full URL to a video thumbnail image.
description One-line video description.
+ player_url: SWF Player URL (used for rtmpdump).
Subclasses of this one should re-define the _real_initialize() and
_real_extract() methods and define a _VALID_URL regexp.
'upload_date': u'NA',
'title': video_title,
'ext': video_extension.decode('utf-8'),
- 'player_url': None,
}]
'upload_date': video_upload_date,
'title': video_title,
'ext': video_extension.decode('utf-8'),
- 'player_url': None,
}]
'upload_date': u'NA',
'title': video_title,
'ext': video_extension.decode('utf-8'),
- 'player_url': None,
}]
'upload_date': u'NA',
'title': video_title,
'ext': video_extension.decode('utf-8'),
- 'player_url': None,
}]
'thumbnail': video_thumbnail.decode('utf-8'),
'description': video_description,
'thumbnail': video_thumbnail,
- 'player_url': None,
}]
'ext': video_extension,
'thumbnail': video_thumbnail,
'description': video_description,
- 'player_url': None,
}]
'upload_date': u'NA',
'title': video_title,
'ext': video_extension.decode('utf-8'),
- 'player_url': None,
}]
'upload_date': u'NA',
'title': file_title,
'ext': file_extension.decode('utf-8'),
- 'player_url': None,
}]
'format': (format_param is None and u'NA' or format_param.decode('utf-8')),
'thumbnail': video_thumbnail.decode('utf-8'),
'description': video_description.decode('utf-8'),
- 'player_url': None,
})
return results
'upload_date': u'NA',
'title': video_title,
'ext': u'flv',
- 'player_url': None,
}]
class ComedyCentralIE(InfoExtractor):
'ext': 'flv',
'thumbnail': video_thumbnail,
'description': None,
- 'player_url': None,
}
return [info]
'upload_date': upload_date,
'title': title,
'ext': u'mp3',
- 'player_url': None,
'description': description.decode('utf-8')
}]
'ext': extension, # Extension is always(?) mp4, but seems to be flv
'thumbnail': None,
'description': video_description,
- 'player_url': None,
}
return [info]
return
video_thumbnail = result.group(1).decode('utf-8')
- info = {'id': video_id,
- 'url': video_url,
- 'uploader': None,
- 'upload_date': None,
- 'title': video_title,
- 'ext': 'flv',
- 'thumbnail': video_thumbnail,
- 'description': None,
- 'player_url': None}
-
- return [info]
+ return [{
+ 'id': video_id,
+ 'url': video_url,
+ 'uploader': None,
+ 'upload_date': None,
+ 'title': video_title,
+ 'ext': 'flv',
+ 'thumbnail': video_thumbnail,
+ 'description': None,
+ }]
class GooglePlusIE(InfoExtractor):
'upload_date': upload_date.decode('utf-8'),
'title': video_title.decode('utf-8'),
'ext': video_extension.decode('utf-8'),
- 'player_url': None,
}]