]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[tubitv] use geo bypass mechanism
authorRemita Amine <remitamine@gmail.com>
Fri, 24 Feb 2017 11:27:56 +0000 (12:27 +0100)
committerRemita Amine <remitamine@gmail.com>
Fri, 24 Feb 2017 11:27:56 +0000 (12:27 +0100)
youtube_dl/extractor/tubitv.py

index 3a37df2e8eb710c68d448b6231850ddc846ec716..c44018aec39c56eb4b8dccc8b4d001f783e2a19d 100644 (file)
@@ -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',