Sergey M․
8 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/extractor/dplay.py
|
@ -99,7 +99,7 @@ class DPlayIE(InfoExtractor): |
|
|
video_id, f4m_id=protocol, fatal=False)) |
|
|
video_id, f4m_id=protocol, fatal=False)) |
|
|
|
|
|
|
|
|
domain_tld = domain.split('.')[-1] |
|
|
domain_tld = domain.split('.')[-1] |
|
|
if domain_tld in ('se', 'dk'): |
|
|
|
|
|
|
|
|
if domain_tld in ('se', 'dk', 'no'): |
|
|
for protocol in PROTOCOLS: |
|
|
for protocol in PROTOCOLS: |
|
|
self._set_cookie( |
|
|
self._set_cookie( |
|
|
'secure.dplay.%s' % domain_tld, 'dsc-geo', |
|
|
'secure.dplay.%s' % domain_tld, 'dsc-geo', |
|
|