소스 검색

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

Sergey M․ 9 년 전
부모
커밋
397ec446f3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      youtube_dl/extractor/dplay.py

+ 1 - 1
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',