1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-03 15:49:25 +01:00

[weibo] Extend _VALID_URL (#20496)

This commit is contained in:
RexYuan 2019-03-31 02:31:33 +08:00 committed by Sergey M
parent b43c5f474a
commit 93bb6b1bae

View File

@ -19,7 +19,7 @@ from ..utils import (
class WeiboIE(InfoExtractor):
_VALID_URL = r'https?://weibo\.com/[0-9]+/(?P<id>[a-zA-Z0-9]+)'
_VALID_URL = r'https?://(?:www\.)?weibo\.com/[0-9]+/(?P<id>[a-zA-Z0-9]+)'
_TEST = {
'url': 'https://weibo.com/6275294458/Fp6RGfbff?type=comment',
'info_dict': {