[crackle] use geo bypass mechanism
authorRemita Amine <remitamine@gmail.com>
Tue, 21 Feb 2017 18:37:26 +0000 (19:37 +0100)
committerRemita Amine <remitamine@gmail.com>
Tue, 21 Feb 2017 18:37:26 +0000 (19:37 +0100)
youtube_dl/extractor/crackle.py

index 377fb45e9d2bcd70c1a6aa6d835331636708c215..f919ed208d16d0cb8e8299ceacec1d96b0237c81 100644 (file)
@@ -6,6 +6,7 @@ from ..utils import int_or_none
 
 
 class CrackleIE(InfoExtractor):
+    _GEO_COUNTRIES = ['US']
     _VALID_URL = r'(?:crackle:|https?://(?:(?:www|m)\.)?crackle\.com/(?:playlist/\d+/|(?:[^/]+/)+))(?P<id>\d+)'
     _TEST = {
         'url': 'http://www.crackle.com/comedians-in-cars-getting-coffee/2498934',