projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31615ac
)
[crackle] use geo bypass mechanism
author
Remita Amine
<remitamine@gmail.com>
Tue, 21 Feb 2017 18:37:26 +0000
(19:37 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Tue, 21 Feb 2017 18:37:26 +0000
(19:37 +0100)
youtube_dl/extractor/crackle.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/crackle.py
b/youtube_dl/extractor/crackle.py
index 377fb45e9d2bcd70c1a6aa6d835331636708c215..f919ed208d16d0cb8e8299ceacec1d96b0237c81 100644
(file)
--- a/
youtube_dl/extractor/crackle.py
+++ b/
youtube_dl/extractor/crackle.py
@@
-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',