- webpage, 'uploader', fatal=False)
- thumbnail_part = self._html_search_regex(
- r'(?s)<div id="emission".*?<img src="([^"]+)"', webpage,
- 'thumbnail', fatal=False)
- if thumbnail_part is None:
- thumbnail = None
- else:
- thumbnail = compat_urlparse.urljoin(baseurl, thumbnail_part)
- description = self._html_search_regex(
- r'(?s)<p class="desc">(.*?)</p>', webpage, 'description')
-
- info = json.loads(params['infoData'][0])[0]
- duration = info.get('media_length')
- upload_date_candidate = info.get('media_section5')
- upload_date = (
- upload_date_candidate
- if (upload_date_candidate is not None and
- re.match(r'[0-9]{8}$', upload_date_candidate))
- else None)
+ webpage, 'uploader', default=None)
+ vcodec = 'none' if determine_ext(video_url.lower()) == 'mp3' else None