Browse Source

[smotri] Add entry for netrc authentication

totalwebcasting
Sergey M. 11 years ago
parent
commit
541cb26c0d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/smotri.py

+ 1
- 0
youtube_dl/extractor/smotri.py View File

@ -20,6 +20,7 @@ class SmotriIE(InfoExtractor):
IE_DESC = 'Smotri.com' IE_DESC = 'Smotri.com'
IE_NAME = 'smotri' 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}))' _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 = [ _TESTS = [
# real video id 2610366 # real video id 2610366


Loading…
Cancel
Save