diff options
author | RexYuan <RexYuan@users.noreply.github.com> | 2019-03-31 02:31:33 +0800 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2019-03-31 01:31:33 +0700 |
commit | 93bb6b1baeddd8e6ea77d814e739e1b076fb248b (patch) | |
tree | bfb6ddbf445a7990a67baeb604713be5141cf6ff /youtube_dl/extractor | |
parent | b43c5f474a7be2f7dbfd4c887ded6c751f081d73 (diff) |
[weibo] Extend _VALID_URL (#20496)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/weibo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/weibo.py b/youtube_dl/extractor/weibo.py index 3cb4d71a6..621df5b54 100644 --- a/youtube_dl/extractor/weibo.py +++ b/youtube_dl/extractor/weibo.py @@ -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': { |