aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-02-17 02:19:55 +0700
committerSergey M. <dstftw@gmail.com>2014-02-17 02:19:55 +0700
commit541cb26c0d3ab273ba2d6d42608216166fc30fba (patch)
treef7ef4e6910128ff7f6642c818a4e323147cd9818 /youtube_dl
parent5544e038ab034ed7003270dbf4e557e5df79e794 (diff)
[smotri] Add entry for netrc authentication
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/smotri.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/smotri.py b/youtube_dl/extractor/smotri.py
index f249f013c..540c55703 100644
--- 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