Browse Source

[huffpost] Modernize

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
4c1ce987b0
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      youtube_dl/extractor/huffpost.py

+ 1
- 2
youtube_dl/extractor/huffpost.py View File

@ -33,8 +33,7 @@ class HuffPostIE(InfoExtractor):
}
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)
video_id = mobj.group('id')
video_id = self._match_id(url)
api_url = 'http://embed.live.huffingtonpost.com/api/segments/%s.json' % video_id
data = self._download_json(api_url, video_id)['data']


Loading…
Cancel
Save