change dict to url_result
This commit is contained in:
parent
3fb7f85dd4
commit
e3225fc155
@ -150,10 +150,9 @@ class TvpIE(InfoExtractor):
|
|||||||
if 'directory_video' in item['types']:
|
if 'directory_video' in item['types']:
|
||||||
ids.append(item['_id'])
|
ids.append(item['_id'])
|
||||||
if 'video' in item['types'] and item['is_released']:
|
if 'video' in item['types'] and item['is_released']:
|
||||||
yield {
|
yield self.url_result(item['url'],
|
||||||
'_type': 'url',
|
video_id=item['_id'],
|
||||||
'title': self._guess_title(item),
|
video_title=self._guess_title(item))
|
||||||
'url': item['url']}
|
|
||||||
|
|
||||||
def _get_playlist(self, context):
|
def _get_playlist(self, context):
|
||||||
pls_id = str(context['material_id'])
|
pls_id = str(context['material_id'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user