projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39e7277
)
[tubitv] use geo bypass mechanism
author
Remita Amine
<remitamine@gmail.com>
Fri, 24 Feb 2017 11:27:56 +0000
(12:27 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Fri, 24 Feb 2017 11:27:56 +0000
(12:27 +0100)
youtube_dl/extractor/tubitv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tubitv.py
b/youtube_dl/extractor/tubitv.py
index 3a37df2e8eb710c68d448b6231850ddc846ec716..c44018aec39c56eb4b8dccc8b4d001f783e2a19d 100644
(file)
--- a/
youtube_dl/extractor/tubitv.py
+++ b/
youtube_dl/extractor/tubitv.py
@@
-16,6
+16,7
@@
class TubiTvIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?tubitv\.com/video/(?P<id>[0-9]+)'
_LOGIN_URL = 'http://tubitv.com/login'
_NETRC_MACHINE = 'tubitv'
+ _GEO_COUNTRIES = ['US']
_TEST = {
'url': 'http://tubitv.com/video/283829/the_comedian_at_the_friday',
'md5': '43ac06be9326f41912dc64ccf7a80320',