diff --git a/src/you_get/extractors/iqiyi.py b/src/you_get/extractors/iqiyi.py index 91329708..81dbef95 100644 --- a/src/you_get/extractors/iqiyi.py +++ b/src/you_get/extractors/iqiyi.py @@ -97,7 +97,9 @@ class Iqiyi(VideoExtractor): {'id': '4k', 'container': 'm3u8', 'video_profile': '4k'}, {'id': 'BD', 'container': 'm3u8', 'video_profile': '1080p'}, {'id': 'TD', 'container': 'm3u8', 'video_profile': '720p'}, + {'id': 'TD_H265', 'container': 'm3u8', 'video_profile': '720p H265'}, {'id': 'HD', 'container': 'm3u8', 'video_profile': '540p'}, + {'id': 'HD_H265', 'container': 'm3u8', 'video_profile': '540p H265'}, {'id': 'SD', 'container': 'm3u8', 'video_profile': '360p'}, {'id': 'LD', 'container': 'm3u8', 'video_profile': '210p'}, ] @@ -108,8 +110,8 @@ class Iqiyi(VideoExtractor): stream_to_bid = { '4k': 10, 'fullhd' : 5, 'suprt-high' : 4, 'super' : 3, 'high' : 2, 'standard' :1, 'topspeed' :96} ''' ids = ['4k','BD', 'TD', 'HD', 'SD', 'LD'] - vd_2_id = {10: '4k', 19: '4k', 5:'BD', 18: 'BD', 21: 'HD', 2: 'HD', 4: 'TD', 17: 'TD', 96: 'LD', 1: 'SD'} - id_2_profile = {'4k':'4k', 'BD': '1080p','TD': '720p', 'HD': '540p', 'SD': '360p', 'LD': '210p'} + vd_2_id = {10: '4k', 19: '4k', 5:'BD', 18: 'BD', 21: 'HD_H265', 2: 'HD', 4: 'TD', 17: 'TD_H265', 96: 'LD', 1: 'SD', 14: 'TD'} + id_2_profile = {'4k':'4k', 'BD': '1080p','TD': '720p', 'HD': '540p', 'SD': '360p', 'LD': '210p', 'HD_H265': '540p H265', 'TD_H265': '720p H265'} @@ -137,7 +139,7 @@ class Iqiyi(VideoExtractor): self.title = match1(html, '