mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
Update yt_dlp/extractor/huya.py
Update regex to support both HTTP and HTTPS. Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
97615070db
commit
6baaea0178
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ def encrypt(self, params, stream_info, stream_name):
|
|||
|
||||
|
||||
class HuyaVideoIE(InfoExtractor):
|
||||
_VALID_URL = r'https://(?:www\.)?huya\.com/video/play/(?P<id>\d+)\.html'
|
||||
_VALID_URL = r'https?://(?:www\.)?huya\.com/video/play/(?P<id>\d+)\.html'
|
||||
|
||||
IE_NAME = 'huya:video'
|
||||
IE_DESC = '虎牙视频'
|
||||
|
|
Loading…
Reference in a new issue