projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2b64e0
)
[drtv:live] Bypass geo restriction
author
Sergey M․
<dstftw@gmail.com>
Sun, 5 Mar 2017 20:21:03 +0000
(
03:21
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 5 Mar 2017 20:23:42 +0000
(
03:23
+0700)
youtube_dl/extractor/drtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/drtv.py
b/youtube_dl/extractor/drtv.py
index e966d7483cdc2193cfc96d2bdd808c90e515f821..b879f2c2b213c53f77a516902bf0b63d95269bf8 100644
(file)
--- a/
youtube_dl/extractor/drtv.py
+++ b/
youtube_dl/extractor/drtv.py
@@
-156,6
+156,7
@@
class DRTVIE(InfoExtractor):
class DRTVLiveIE(InfoExtractor):
IE_NAME = 'drtv:live'
_VALID_URL = r'https?://(?:www\.)?dr\.dk/(?:tv|TV)/live/(?P<id>[\da-z-]+)'
+ _GEO_COUNTRIES = ['DK']
_TEST = {
'url': 'https://www.dr.dk/tv/live/dr1',
'info_dict': {