aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-07-03 14:06:24 +0100
committerRemita Amine <remitamine@gmail.com>2016-07-03 14:10:25 +0100
commita5f67895d32f2e152a0e59d0b25326536c6ad6c3 (patch)
tree648cb6badec9202caa2c70206d1f4fc073d91b49
parent15e4b6b758daadab14ad520c55713a8b35a3db7e (diff)
downloadyoutube-dl-a5f67895d32f2e152a0e59d0b25326536c6ad6c3.zip
youtube-dl-a5f67895d32f2e152a0e59d0b25326536c6ad6c3.tar.gz
youtube-dl-a5f67895d32f2e152a0e59d0b25326536c6ad6c3.tar.bz2
[nationalgeographic] restore http formats
there was a misunderstanding about the reason of 403 response the problem happen only when the user use aria2c as a downloader https://github.com/rg3/youtube-dl/commit/a1f6f5c768a506674928530990b7f95c605eac2c#commitcomment-18107559
-rw-r--r--youtube_dl/extractor/nationalgeographic.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/youtube_dl/extractor/nationalgeographic.py b/youtube_dl/extractor/nationalgeographic.py
index 6eabd22..e717abb 100644
--- a/youtube_dl/extractor/nationalgeographic.py
+++ b/youtube_dl/extractor/nationalgeographic.py
@@ -79,10 +79,6 @@ class NationalGeographicChannelIE(ThePlatformIE):
'upload_date': '20160322',
'uploader': 'NEWA-FNG-NGTV',
},
- 'params': {
- # m3u8 download
- 'skip_download': True,
- },
'add_ie': ['ThePlatform'],
},
{
@@ -97,10 +93,6 @@ class NationalGeographicChannelIE(ThePlatformIE):
'upload_date': '20160330',
'uploader': 'NEWA-FNG-NGTV',
},
- 'params': {
- # m3u8 download
- 'skip_download': True,
- },
'add_ie': ['ThePlatform'],
},
]
@@ -113,7 +105,7 @@ class NationalGeographicChannelIE(ThePlatformIE):
webpage, 'release url')
query = {
'mbr': 'true',
- 'manifest': 'm3u',
+ 'switch': 'http',
}
is_auth = self._search_regex(r'video_is_auth\s*=\s*"([^"]+)"', webpage, 'is auth', fatal=False)
if is_auth == 'auth':