Browse Source

[youtube] Expand _VALID_URL to support vid.plus

totalwebcasting
Sergey M․ 9 years ago
parent
commit
cbaed4bb5e
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      youtube_dl/extractor/youtube.py

+ 8
- 1
youtube_dl/extractor/youtube.py View File

@ -202,7 +202,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
v=
)
))
|youtu\.be/ # just youtu.be/xxxx
|(?:
youtu\.be| # just youtu.be/xxxx
vid\.plus # or vid.plus/xxxx
)/
|(?:www\.)?cleanvideosearch\.com/media/action/yt/watch\?videoId=
)
)? # all until now is optional -> you can pass the naked ID
@ -624,6 +627,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'params': {
'skip_download': True,
},
},
{
'url': 'http://vid.plus/FlRa-iH7PGw',
'only_matching': True,
}
]


Loading…
Cancel
Save