commit 541cb26c0d3ab273ba2d6d42608216166fc30fba
parent 5544e038ab034ed7003270dbf4e557e5df79e794
Author: Sergey M <dstftw@gmail.com>
Date: Mon, 17 Feb 2014 02:19:55 +0700
[smotri] Add entry for netrc authentication
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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