1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 07:56:49 +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):
_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': {