aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/nationalgeographic.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-08-15 21:36:34 +0100
committerRemita Amine <remitamine@gmail.com>2016-08-15 21:36:34 +0100
commit818ac213eb80e18f472ecdf2406569bafd4cccaf (patch)
tree6950c2977a77b14f637776f0d4162840fc0f4c9a /youtube_dl/extractor/nationalgeographic.py
parentcbef4d5c9ff5013d0c10b960e1690805724120cd (diff)
[adobepass] add IE suffix to the extractor and remove duplicate constant
Diffstat (limited to 'youtube_dl/extractor/nationalgeographic.py')
-rw-r--r--youtube_dl/extractor/nationalgeographic.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/nationalgeographic.py b/youtube_dl/extractor/nationalgeographic.py
index 890e8d5bc..1dcf27afe 100644
--- a/youtube_dl/extractor/nationalgeographic.py
+++ b/youtube_dl/extractor/nationalgeographic.py
@@ -3,7 +3,7 @@ from __future__ import unicode_literals
import re
from .common import InfoExtractor
-from .theplatform import ThePlatformIE
+from .adobepass import AdobePassIE
from ..utils import (
smuggle_url,
url_basename,
@@ -65,7 +65,7 @@ class NationalGeographicVideoIE(InfoExtractor):
}
-class NationalGeographicIE(ThePlatformIE):
+class NationalGeographicIE(AdobePassIE):
IE_NAME = 'natgeo'
_VALID_URL = r'https?://channel\.nationalgeographic\.com/(?:wild/)?[^/]+/(?:videos|episodes)/(?P<id>[^/?]+)'
@@ -131,7 +131,7 @@ class NationalGeographicIE(ThePlatformIE):
}
-class NationalGeographicEpisodeGuideIE(ThePlatformIE):
+class NationalGeographicEpisodeGuideIE(InfoExtractor):
IE_NAME = 'natgeo:episodeguide'
_VALID_URL = r'https?://channel\.nationalgeographic\.com/(?:wild/)?(?P<id>[^/]+)/episode-guide'
_TESTS = [