mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 21:56:53 +01:00
[dplay] Try secure api for no tld (Closes #9282)
This commit is contained in:
parent
29a7e8f6f8
commit
397ec446f3
@ -99,7 +99,7 @@ def extract_formats(protocol, manifest_url):
|
|||||||
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',
|
||||||
|
Loading…
Reference in New Issue
Block a user