mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-08 00:11:26 +01:00
Compare commits
3 Commits
98cf2eede4
...
50f5642332
Author | SHA1 | Date | |
---|---|---|---|
|
50f5642332 | ||
|
e202299ebe | ||
|
0b30ffb24d |
|
@ -15,6 +15,7 @@ from ..utils import (
|
||||||
|
|
||||||
_FIELDS = '''
|
_FIELDS = '''
|
||||||
_id
|
_id
|
||||||
|
clipImageSource
|
||||||
clipImageThumb
|
clipImageThumb
|
||||||
clipLink
|
clipLink
|
||||||
clipTitle
|
clipTitle
|
||||||
|
@ -68,7 +69,7 @@ class AllstarBaseIE(InfoExtractor):
|
||||||
'display_id': ('shareId', {str}),
|
'display_id': ('shareId', {str}),
|
||||||
'title': ('clipTitle', {str}),
|
'title': ('clipTitle', {str}),
|
||||||
'url': ('clipLink', {media_url_or_none}),
|
'url': ('clipLink', {media_url_or_none}),
|
||||||
'thumbnail': ('clipImageThumb', {media_url_or_none}),
|
'thumbnails': (('clipImageThumb', 'clipImageSource'), {'url': {media_url_or_none}}),
|
||||||
'duration': ('clipLength', {int_or_none}),
|
'duration': ('clipLength', {int_or_none}),
|
||||||
'filesize': ('clipSizeBytes', {int_or_none}),
|
'filesize': ('clipSizeBytes', {int_or_none}),
|
||||||
'timestamp': ('createdDate', {functools.partial(int_or_none, scale=1000)}),
|
'timestamp': ('createdDate', {functools.partial(int_or_none, scale=1000)}),
|
||||||
|
@ -111,7 +112,7 @@ class AllstarIE(AllstarBaseIE):
|
||||||
'id': '64482c2da9eec30008a67d1b',
|
'id': '64482c2da9eec30008a67d1b',
|
||||||
'title': '4K on Inferno',
|
'title': '4K on Inferno',
|
||||||
'url': 'md5:66befb5381eef0c9456026386c25fa55',
|
'url': 'md5:66befb5381eef0c9456026386c25fa55',
|
||||||
'thumbnail': 'md5:33c520f681627826a95ac43b092ecd2b',
|
'thumbnail': r're:https://media\.allstar\.gg/.+\.(?:png|jpg)$',
|
||||||
'uploader': 'chrk.',
|
'uploader': 'chrk.',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'duration': 20,
|
'duration': 20,
|
||||||
|
@ -130,7 +131,7 @@ class AllstarIE(AllstarBaseIE):
|
||||||
'title': 'AK-47 3K on Mirage',
|
'title': 'AK-47 3K on Mirage',
|
||||||
'url': 'md5:dde224fd12f035c0e2529a4ae34c4283',
|
'url': 'md5:dde224fd12f035c0e2529a4ae34c4283',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'thumbnail': 'md5:90564b121f5fd7a4924920ef45614634',
|
'thumbnail': r're:https://media\.allstar\.gg/.+\.(?:png|jpg)$',
|
||||||
'duration': 16,
|
'duration': 16,
|
||||||
'filesize': 30175859,
|
'filesize': 30175859,
|
||||||
'timestamp': 1688333419,
|
'timestamp': 1688333419,
|
||||||
|
@ -147,7 +148,7 @@ class AllstarIE(AllstarBaseIE):
|
||||||
'display_id': 'APQLGM2IMXW',
|
'display_id': 'APQLGM2IMXW',
|
||||||
'title': 'cherokee Rapid Fire Snipers Montage',
|
'title': 'cherokee Rapid Fire Snipers Montage',
|
||||||
'url': 'md5:a3ee356022115db2b27c81321d195945',
|
'url': 'md5:a3ee356022115db2b27c81321d195945',
|
||||||
'thumbnail': 'md5:f1a5e811864e173f180b738d956356f4',
|
'thumbnail': r're:https://media\.allstar\.gg/.+\.(?:png|jpg)$',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'timestamp': 1681810448,
|
'timestamp': 1681810448,
|
||||||
'uploader': 'cherokee',
|
'uploader': 'cherokee',
|
||||||
|
@ -163,7 +164,7 @@ class AllstarIE(AllstarBaseIE):
|
||||||
'display_id': 'RILJMH6QOS',
|
'display_id': 'RILJMH6QOS',
|
||||||
'title': 'cherokee Rapid Fire Snipers Montage',
|
'title': 'cherokee Rapid Fire Snipers Montage',
|
||||||
'url': 'md5:d5672e6f88579730c2310a80fdbc4030',
|
'url': 'md5:d5672e6f88579730c2310a80fdbc4030',
|
||||||
'thumbnail': 'md5:60872f0d236863bb9a6f3dff1623403c',
|
'thumbnail': r're:https://media\.allstar\.gg/.+\.(?:png|jpg)$',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'timestamp': 1688365434,
|
'timestamp': 1688365434,
|
||||||
'uploader': 'cherokee',
|
'uploader': 'cherokee',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user