aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/dplay.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-04-23 15:59:30 +0600
committerSergey M․ <dstftw@gmail.com>2016-04-23 15:59:30 +0600
commit397ec446f3816a0b13bb71068c10ab8122192cbd (patch)
tree10a99626e97044708386237369290090d892bb83 /youtube_dl/extractor/dplay.py
parent29a7e8f6f88e9a4c522e67aae5badd26ee226fde (diff)
[dplay] Try secure api for no tld (Closes #9282)
Diffstat (limited to 'youtube_dl/extractor/dplay.py')
-rw-r--r--youtube_dl/extractor/dplay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dplay.py b/youtube_dl/extractor/dplay.py
index 66bbfc6ca..ef68ef087 100644
--- a/youtube_dl/extractor/dplay.py
+++ b/youtube_dl/extractor/dplay.py
@@ -99,7 +99,7 @@ class DPlayIE(InfoExtractor):
video_id, f4m_id=protocol, fatal=False))
domain_tld = domain.split('.')[-1]
- if domain_tld in ('se', 'dk'):
+ if domain_tld in ('se', 'dk', 'no'):
for protocol in PROTOCOLS:
self._set_cookie(
'secure.dplay.%s' % domain_tld, 'dsc-geo',