projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[extractor/generic] Detect m3u playlists served without proper Content-Type
[youtube-dl]
/
youtube_dl
/
extractor
/
nationalgeographic.py
diff --git
a/youtube_dl/extractor/nationalgeographic.py
b/youtube_dl/extractor/nationalgeographic.py
index 6fc9e7b050c75ced3262ebad9ba92d74ed6b5d7d..7ce8d9b182ca78401e772ebef5311a37c7819ee0 100644
(file)
--- a/
youtube_dl/extractor/nationalgeographic.py
+++ b/
youtube_dl/extractor/nationalgeographic.py
@@
-48,7
+48,7
@@
class NationalGeographicIE(InfoExtractor):
theplatform_id = url_basename(content.attrib.get('url'))
return self.url_result(smuggle_url(
theplatform_id = url_basename(content.attrib.get('url'))
return self.url_result(smuggle_url(
- 'http://link.theplatform.com/s/ngs/%s?format
=SMIL&format
s=MPEG4&manifest=f4m' % theplatform_id,
+ 'http://link.theplatform.com/s/ngs/%s?formats=MPEG4&manifest=f4m' % theplatform_id,
# For some reason, the normal links don't work and we must force
# the use of f4m
{'force_smil_url': True}))
# For some reason, the normal links don't work and we must force
# the use of f4m
{'force_smil_url': True}))