Update yt_dlp/extractor/weibo.py

pull/14035/head
bashonly 2 days ago committed by GitHub
parent 4d8ed71021
commit 0d84769d53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -213,7 +213,7 @@ class WeiboVideoIE(WeiboBaseIE):
_VIDEO_ID_RE = r'\d+:(?:[\da-f]{32}|\d{16,})' _VIDEO_ID_RE = r'\d+:(?:[\da-f]{32}|\d{16,})'
_VALID_URL = [ _VALID_URL = [
fr'https?://(?:www\.)?weibo\.com/tv/show/(?P<id>{_VIDEO_ID_RE})', fr'https?://(?:www\.)?weibo\.com/tv/show/(?P<id>{_VIDEO_ID_RE})',
fr'https?://video\.weibo\.com/show\?(?:[^#]+&)?fid=(?P<id>{_VIDEO_ID_RE})', fr'https?://video\.weibo\.com/show/?\?(?:[^#]+&)?fid=(?P<id>{_VIDEO_ID_RE})',
] ]
_TESTS = [{ _TESTS = [{
'url': 'https://weibo.com/tv/show/1034:4797699866951785?from=old_pc_videoshow', 'url': 'https://weibo.com/tv/show/1034:4797699866951785?from=old_pc_videoshow',

Loading…
Cancel
Save