mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
[youtube] show quality_label
This commit is contained in:
parent
35f20be70c
commit
dca9897b8a
@ -437,7 +437,7 @@ class YouTube(VideoExtractor):
|
|||||||
dash_urls = self.__class__.chunk_by_range(dash_url, int(dash_size))
|
dash_urls = self.__class__.chunk_by_range(dash_url, int(dash_size))
|
||||||
dash_mp4_a_urls = self.__class__.chunk_by_range(dash_mp4_a_url, int(dash_mp4_a_size))
|
dash_mp4_a_urls = self.__class__.chunk_by_range(dash_mp4_a_url, int(dash_mp4_a_size))
|
||||||
self.dash_streams[itag] = {
|
self.dash_streams[itag] = {
|
||||||
'quality': stream['size'],
|
'quality': '%s (%s)' % (stream['size'], stream['quality_label']),
|
||||||
'itag': itag,
|
'itag': itag,
|
||||||
'type': mimeType,
|
'type': mimeType,
|
||||||
'mime': mimeType,
|
'mime': mimeType,
|
||||||
@ -464,7 +464,7 @@ class YouTube(VideoExtractor):
|
|||||||
dash_urls = self.__class__.chunk_by_range(dash_url, int(dash_size))
|
dash_urls = self.__class__.chunk_by_range(dash_url, int(dash_size))
|
||||||
audio_urls = self.__class__.chunk_by_range(audio_url, int(audio_size))
|
audio_urls = self.__class__.chunk_by_range(audio_url, int(audio_size))
|
||||||
self.dash_streams[itag] = {
|
self.dash_streams[itag] = {
|
||||||
'quality': stream['size'],
|
'quality': '%s (%s)' % (stream['size'], stream['quality_label']),
|
||||||
'itag': itag,
|
'itag': itag,
|
||||||
'type': mimeType,
|
'type': mimeType,
|
||||||
'mime': mimeType,
|
'mime': mimeType,
|
||||||
|
Loading…
Reference in New Issue
Block a user