projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b43c5f4
)
[weibo] Extend _VALID_URL (#20496)
author
RexYuan
<RexYuan@users.noreply.github.com>
Sat, 30 Mar 2019 18:31:33 +0000
(
02:31
+0800)
committer
Sergey M
<dstftw@gmail.com>
Sat, 30 Mar 2019 18:31:33 +0000
(
01:31
+0700)
youtube_dl/extractor/weibo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/weibo.py
b/youtube_dl/extractor/weibo.py
index 3cb4d71a6c2381fe1169b11785a2cc950d2b8437..621df5b549488846130032f1a6ce568f849ca179 100644
(file)
--- 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': {