projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5544e03
)
[smotri] Add entry for netrc authentication
author
Sergey M.
<dstftw@gmail.com>
Sun, 16 Feb 2014 19:19:55 +0000
(
02:19
+0700)
committer
Sergey M.
<dstftw@gmail.com>
Sun, 16 Feb 2014 19:19:55 +0000
(
02:19
+0700)
youtube_dl/extractor/smotri.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/smotri.py
b/youtube_dl/extractor/smotri.py
index f249f013cfcc336048e8ee0f4dc3855fdf060a73..540c557039fd5876ad32af816152fdc912a87e69 100644
(file)
--- a/
youtube_dl/extractor/smotri.py
+++ b/
youtube_dl/extractor/smotri.py
@@
-20,6
+20,7
@@
class SmotriIE(InfoExtractor):
IE_DESC = 'Smotri.com'
IE_NAME = 'smotri'
_VALID_URL = r'^https?://(?:www\.)?(?P<url>smotri\.com/video/view/\?id=(?P<videoid>v(?P<realvideoid>[0-9]+)[a-z0-9]{4}))'
+ _NETRC_MACHINE = 'smotri'
_TESTS = [
# real video id 2610366