1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[dplay] Try secure api for no tld (Closes #9282)

This commit is contained in:
Sergey M․ 2016-04-23 15:59:30 +06:00
parent 29a7e8f6f8
commit 397ec446f3
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -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',