Get description or None
This commit is contained in:
parent
a8aa503d99
commit
1b02c9f96b
@ -14,11 +14,6 @@ class CheekyVideosIE(InfoExtractor):
|
||||
'ext': 'mp4',
|
||||
'title': 'Video title goes here',
|
||||
'thumbnail': r're:^https?://.*\.jpg$',
|
||||
# TODO more properties, either as:
|
||||
# * A value
|
||||
# * MD5 checksum; start the string with md5:
|
||||
# * A regular expression; start the string with re:
|
||||
# * Any Python type (for example int or float)
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,7 +30,7 @@ class CheekyVideosIE(InfoExtractor):
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': title,
|
||||
'description': self._html_search_meta('description', webpage, display_name='description'),
|
||||
'description': self._html_search_meta('description', webpage, default=None),
|
||||
'uploader': uploader,
|
||||
'url': url,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user