Browse Source

[weibo] Extend _VALID_URL (#20496)

master
RexYuan 6 years ago
committed by Sergey M
parent
commit
93bb6b1bae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/weibo.py

+ 1
- 1
youtube_dl/extractor/weibo.py 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': {


Loading…
Cancel
Save