mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 00:31:26 +01:00
Compare commits
5 Commits
e90ce5a9f0
...
3eace2a844
Author | SHA1 | Date | |
---|---|---|---|
|
3eace2a844 | ||
|
594f5cc1ea | ||
|
80ef292b8a | ||
|
bdb392092d | ||
|
dd04d0afbe |
|
@ -121,11 +121,21 @@ class AENetworksIE(AENetworksBaseIE):
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '22253814',
|
'id': '22253814',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Winter is Coming',
|
'title': 'Winter Is Coming',
|
||||||
'description': 'md5:641f424b7a19d8e24f26dea22cf59d74',
|
'description': 'md5:a40e370925074260b1c8a633c632c63a',
|
||||||
'timestamp': 1338306241,
|
'timestamp': 1338306241,
|
||||||
'upload_date': '20120529',
|
'upload_date': '20120529',
|
||||||
'uploader': 'AENE-NEW',
|
'uploader': 'AENE-NEW',
|
||||||
|
'duration': 2592.0,
|
||||||
|
'thumbnail': r're:^https?://.*\.jpe?g$',
|
||||||
|
'chapters': 'count:5',
|
||||||
|
'tags': 'count:14',
|
||||||
|
'categories': ['Mountain Men'],
|
||||||
|
'episode_number': 1,
|
||||||
|
'episode': 'Episode 1',
|
||||||
|
'season': 'Season 1',
|
||||||
|
'season_number': 1,
|
||||||
|
'series': 'Mountain Men',
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
# m3u8 download
|
# m3u8 download
|
||||||
|
@ -143,6 +153,15 @@ class AENetworksIE(AENetworksBaseIE):
|
||||||
'timestamp': 1452634428,
|
'timestamp': 1452634428,
|
||||||
'upload_date': '20160112',
|
'upload_date': '20160112',
|
||||||
'uploader': 'AENE-NEW',
|
'uploader': 'AENE-NEW',
|
||||||
|
'duration': 1277.695,
|
||||||
|
'thumbnail': r're:^https?://.*\.jpe?g$',
|
||||||
|
'chapters': 'count:4',
|
||||||
|
'tags': 'count:23',
|
||||||
|
'episode': 'Episode 1',
|
||||||
|
'episode_number': 1,
|
||||||
|
'season': 'Season 9',
|
||||||
|
'season_number': 9,
|
||||||
|
'series': 'Duck Dynasty',
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
# m3u8 download
|
# m3u8 download
|
||||||
|
|
|
@ -205,7 +205,7 @@ class CBCPlayerIE(InfoExtractor):
|
||||||
'series': 'CBC News: Windsor at 6:00',
|
'series': 'CBC News: Windsor at 6:00',
|
||||||
'categories': ['News/Canada/Windsor'],
|
'categories': ['News/Canada/Windsor'],
|
||||||
'location': 'Windsor',
|
'location': 'Windsor',
|
||||||
'tags': ['cancer'],
|
'tags': 'count:1',
|
||||||
'creator': 'Allison Johnson',
|
'creator': 'Allison Johnson',
|
||||||
'media_type': 'Excerpt',
|
'media_type': 'Excerpt',
|
||||||
},
|
},
|
||||||
|
|
|
@ -46,6 +46,10 @@ class CWTVIE(InfoExtractor):
|
||||||
'timestamp': 1444107300,
|
'timestamp': 1444107300,
|
||||||
'age_limit': 14,
|
'age_limit': 14,
|
||||||
'uploader': 'CWTV',
|
'uploader': 'CWTV',
|
||||||
|
'thumbnail': r're:^https?://.*\.jpe?g$',
|
||||||
|
'chapters': 'count:4',
|
||||||
|
'episode': 'Episode 20',
|
||||||
|
'season': 'Season 11',
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
# m3u8 download
|
# m3u8 download
|
||||||
|
|
|
@ -106,7 +106,7 @@ class ThePlatformBaseIE(OnceIE):
|
||||||
|
|
||||||
def extract_site_specific_field(field):
|
def extract_site_specific_field(field):
|
||||||
# A number of sites have custom-prefixed keys, e.g. 'cbc$seasonNumber'
|
# A number of sites have custom-prefixed keys, e.g. 'cbc$seasonNumber'
|
||||||
return next((info[k] for k in info if k.endswith(f'${field}') and info[k] != ''), None)
|
return traverse_obj(info, lambda k, v: v and k.endswith(f'${field}'), get_all=False)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'title': info['title'],
|
'title': info['title'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user