]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[amp] Fix a typo
authorYen Chi Hsuan <yan12125@gmail.com>
Wed, 6 Jul 2016 12:10:47 +0000 (20:10 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Wed, 6 Jul 2016 12:10:47 +0000 (20:10 +0800)
youtube_dl/extractor/amp.py

index 283736fc5ab720b49faaf3d1101b4f95d26a7cb9..e8e40126baca4bad27f8593dd9bd026f16fad131 100644 (file)
@@ -56,7 +56,7 @@ class AMPIE(InfoExtractor):
             media_url = media.get('url')
             if not media_url:
                 continue
-            ext = mimetype2ext(media.get('type')) or determne_ext(media_url)
+            ext = mimetype2ext(media.get('type')) or determine_ext(media_url)
             if ext == 'f4m':
                 formats.extend(self._extract_f4m_formats(
                     media_url + '?hdcore=3.4.0&plugin=aasp-3.4.0.132.124',