From: Sergey M․ Date: Wed, 10 Sep 2014 12:13:22 +0000 (+0700) Subject: [hostingbulk] Simplify X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=6899f2fe9ed2347255f216cfcfc954dd716e5e14;p=youtube-dl [hostingbulk] Simplify --- diff --git a/youtube_dl/extractor/hostingbulk.py b/youtube_dl/extractor/hostingbulk.py index a07dd4962..8e812b669 100644 --- a/youtube_dl/extractor/hostingbulk.py +++ b/youtube_dl/extractor/hostingbulk.py @@ -57,17 +57,13 @@ class HostingBulkIE(InfoExtractor): thumbnail = self._search_regex( r'', webpage, 'rand') - fields = { - 'id': video_id, - 'method_free': '', - 'method_premium': '', - 'op': 'download2', - 'rand': rand, - 'referer': '', - } + fields = dict(re.findall(r'''(?x)