youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 4c1ce987b03dc9cde1b9f06db117f4f12c1dd6a4
parent 1cc887cbf0371a3de2154bc2b34546d1040d01a8
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Mon, 13 Oct 2014 10:08:59 +0200

[huffpost] Modernize

Diffstat:
Myoutube_dl/extractor/huffpost.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/youtube_dl/extractor/huffpost.py b/youtube_dl/extractor/huffpost.py @@ -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']