1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 16:12:50 +08: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': {