mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-02 20:22:52 +08:00
Merge pull request #1 from TheTaques/master
Added season number to data
This commit is contained in:
commit
b9fde574d4
@ -109,7 +109,7 @@ class RoosterTeethIE(InfoExtractor):
|
|||||||
display_id, note='m3u8', headers=headers)
|
display_id, note='m3u8', headers=headers)
|
||||||
m3u8_url = stream_info['data'][0]['attributes']['url']
|
m3u8_url = stream_info['data'][0]['attributes']['url']
|
||||||
title = video_info['data'][0]['attributes']['title']
|
title = video_info['data'][0]['attributes']['title']
|
||||||
season = video_info['data'][0]['attributes']['season_number']
|
season_number = video_info['data'][0]['attributes']['season_number']
|
||||||
episode = video_info['data'][0]['attributes']['number']
|
episode = video_info['data'][0]['attributes']['number']
|
||||||
description = video_info['data'][0]['attributes']['description']
|
description = video_info['data'][0]['attributes']['description']
|
||||||
series = video_info['data'][0]['attributes']['show_title']
|
series = video_info['data'][0]['attributes']['show_title']
|
||||||
@ -131,6 +131,7 @@ class RoosterTeethIE(InfoExtractor):
|
|||||||
'description': description,
|
'description': description,
|
||||||
'thumbnail': thumbnail,
|
'thumbnail': thumbnail,
|
||||||
'series': series,
|
'series': series,
|
||||||
|
'season_number': season_number,
|
||||||
'episode': str(episode),
|
'episode': str(episode),
|
||||||
'comment_count': comment_count,
|
'comment_count': comment_count,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
|
Loading…
Reference in New Issue
Block a user