From 541cb26c0d3ab273ba2d6d42608216166fc30fba Mon Sep 17 00:00:00 2001 From: "Sergey M." Date: Mon, 17 Feb 2014 02:19:55 +0700 Subject: [PATCH] [smotri] Add entry for netrc authentication --- youtube_dl/extractor/smotri.py | 1 + 1 file changed, 1 insertion(+) 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\.)?(?Psmotri\.com/video/view/\?id=(?Pv(?P[0-9]+)[a-z0-9]{4}))' + _NETRC_MACHINE = 'smotri' _TESTS = [ # real video id 2610366 -- 2.22.2