diff options
Diffstat (limited to 'youtube_dl/extractor/hostingbulk.py')
| -rw-r--r-- | youtube_dl/extractor/hostingbulk.py | 6 | 
1 files changed, 1 insertions, 5 deletions
diff --git a/youtube_dl/extractor/hostingbulk.py b/youtube_dl/extractor/hostingbulk.py index 704d0285d..a3154cfde 100644 --- a/youtube_dl/extractor/hostingbulk.py +++ b/youtube_dl/extractor/hostingbulk.py @@ -58,11 +58,7 @@ class HostingBulkIE(InfoExtractor):              r'<img src="([^"]+)".+?class="pic"',              webpage, 'thumbnail', fatal=False) -        fields = dict(re.findall(r'''(?x)<input\s+ -            type="hidden"\s+ -            name="([^"]+)"\s+ -            value="([^"]*)" -            ''', webpage)) +        fields = self._hidden_inputs(webpage)          request = compat_urllib_request.Request(url, urlencode_postdata(fields))          request.add_header('Content-type', 'application/x-www-form-urlencoded')  | 
