projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[comcarcoff] don not depend on crackle extractor(closes #8995)
[youtube-dl]
/
youtube_dl
/
extractor
/
nationalgeographic.py
diff --git
a/youtube_dl/extractor/nationalgeographic.py
b/youtube_dl/extractor/nationalgeographic.py
index 6fc9e7b050c75ced3262ebad9ba92d74ed6b5d7d..d5e53365cc52d93da99953a774871e862ca3cc2a 100644
(file)
--- a/
youtube_dl/extractor/nationalgeographic.py
+++ b/
youtube_dl/extractor/nationalgeographic.py
@@
-8,7
+8,7
@@
from ..utils import (
class NationalGeographicIE(InfoExtractor):
class NationalGeographicIE(InfoExtractor):
- _VALID_URL = r'http://video\.nationalgeographic\.com/.*?'
+ _VALID_URL = r'http
s?
://video\.nationalgeographic\.com/.*?'
_TESTS = [
{
_TESTS = [
{
@@
-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}))