From 9363169b67a7837bdd157939a896bd38b350f634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Thu, 5 Sep 2013 10:08:17 +0200 Subject: [PATCH] [daum] Get the video page from a canonical url to extract the full id (fixes #1373) and extract description. --- youtube_dl/extractor/daum.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/daum.py b/youtube_dl/extractor/daum.py index 9b4566999b..a804e83bdc 100644 --- a/youtube_dl/extractor/daum.py +++ b/youtube_dl/extractor/daum.py @@ -18,6 +18,7 @@ class DaumIE(InfoExtractor): u'file': u'52554690.mp4', u'info_dict': { u'title': u'DOTA 2GETHER 시즌2 6회 - 2부', + u'description': u'DOTA 2GETHER 시즌2 6회 - 2부', u'upload_date': u'20130831', u'duration': 3868, }, @@ -26,7 +27,8 @@ class DaumIE(InfoExtractor): def _real_extract(self, url): mobj = re.match(self._VALID_URL, url) video_id = mobj.group(1) - webpage = self._download_webpage(url, video_id) + canonical_url = 'http://tvpot.daum.net/v/%s' % video_id + webpage = self._download_webpage(canonical_url, video_id) full_id = self._search_regex(r'