1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 02:01:50 +00: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): 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 = { _TEST = {
'url': 'https://weibo.com/6275294458/Fp6RGfbff?type=comment', 'url': 'https://weibo.com/6275294458/Fp6RGfbff?type=comment',
'info_dict': { 'info_dict': {