about summary refs log tree commit diff
path: root/youtube_dl/extractor/phoenix.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-12-28 17:49:59 +0100
committerremitamine <remitamine@gmail.com>2015-12-28 17:52:05 +0100
commita5c1d95500898541cd6b19b32963883db421c4b4 (patch)
treeb70abade61f520f41f9f840f6554bfa93f875c52 /youtube_dl/extractor/phoenix.py
parent974c1b2d4292308a26a47136e7fcf9b61f8b285a (diff)
downloadyoutube-dl-a5c1d95500898541cd6b19b32963883db421c4b4.tar.gz
youtube-dl-a5c1d95500898541cd6b19b32963883db421c4b4.tar.xz
youtube-dl-a5c1d95500898541cd6b19b32963883db421c4b4.zip
[zdf] fix formats extraction
Diffstat (limited to 'youtube_dl/extractor/phoenix.py')
-rw-r--r--youtube_dl/extractor/phoenix.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/youtube_dl/extractor/phoenix.py b/youtube_dl/extractor/phoenix.py
index 46cebc0d7..6ce2ec19d 100644
--- a/youtube_dl/extractor/phoenix.py
+++ b/youtube_dl/extractor/phoenix.py
@@ -1,10 +1,9 @@
 from __future__ import unicode_literals
 
-from .common import InfoExtractor
-from .zdf import extract_from_xml_url
+from .zdf import ZDFIE
 
 
-class PhoenixIE(InfoExtractor):
+class PhoenixIE(ZDFIE):
     _VALID_URL = r'''(?x)https?://(?:www\.)?phoenix\.de/content/
         (?:
             phoenix/die_sendungen/(?:[^/]+/)?
@@ -41,5 +40,5 @@ class PhoenixIE(InfoExtractor):
             r'<div class="phx_vod" id="phx_vod_([0-9]+)"',
             webpage, 'internal video ID')
 
-        api_url = 'http://www.phoenix.de/php/zdfplayer-v1.3/data/beitragsDetails.php?ak=web&id=%s' % internal_id
-        return extract_from_xml_url(self, video_id, api_url)
+        api_url = 'http://www.phoenix.de/php/mediaplayer/data/beitrags_details.php?ak=web&id=%s' % internal_id
+        return self.extract_from_xml_url(video_id, api_url)