- title = self._og_search_title(webpage)
- description = self._og_search_description(webpage)
- thumbnail = self._og_search_thumbnail(webpage)
- duration = int(
- self._html_search_regex(
- r'"videoduration"\s?:\s?"([^"]+)"', webpage, 'duration',
- fatal=False, default='0')
- ) / 1000
- view_count = get_element_by_id('videoViewCount',
- webpage).replace('.', '')
- timestamp = parse_iso8601(self._html_search_meta('uploadDate', webpage,
- 'upload date', fatal=False))
- family_friendly = self._html_search_meta('isFamilyFriendly', webpage,
- 'age limit', fatal=False)
- uploader = self._html_search_regex(r"adduserUsername\s?=\s?'([^']+)';",
- webpage, 'uploader', fatal=False,
- default='')
- comment_count = self._html_search_regex(
- r'comment_count\s?=\s?\'([^\']+)\';',
- webpage, 'uploader', fatal=False)