projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29a7e8f
)
[dplay] Try secure api for no tld (Closes #9282)
author
Sergey M․
<dstftw@gmail.com>
Sat, 23 Apr 2016 09:59:30 +0000
(15:59 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 23 Apr 2016 09:59:30 +0000
(15:59 +0600)
youtube_dl/extractor/dplay.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dplay.py
b/youtube_dl/extractor/dplay.py
index 66bbfc6ca0b32ad37feaaa42d1480214cb8d89d2..ef68ef087824b4063a3f7cf372c19950e5866039 100644
(file)
--- 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',