projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for https for all extractors as preventive and future-proof measure
[youtube-dl]
/
youtube_dl
/
extractor
/
firsttv.py
diff --git
a/youtube_dl/extractor/firsttv.py
b/youtube_dl/extractor/firsttv.py
index 510d4b108944d1f220c45ddc2fbe85cdad6114ca..98b165143fe8b3f3e970ad602856b4266c59701c 100644
(file)
--- a/
youtube_dl/extractor/firsttv.py
+++ b/
youtube_dl/extractor/firsttv.py
@@
-8,7
+8,7
@@
from ..utils import int_or_none
class FirstTVIE(InfoExtractor):
IE_NAME = '1tv'
IE_DESC = 'Первый канал'
class FirstTVIE(InfoExtractor):
IE_NAME = '1tv'
IE_DESC = 'Первый канал'
- _VALID_URL = r'http://(?:www\.)?1tv\.ru/(?:[^/]+/)+(?P<id>.+)'
+ _VALID_URL = r'http
s?
://(?:www\.)?1tv\.ru/(?:[^/]+/)+(?P<id>.+)'
_TESTS = [{
'url': 'http://www.1tv.ru/videoarchive/73390',
_TESTS = [{
'url': 'http://www.1tv.ru/videoarchive/73390',