[extractor/youtube] Fix 5038f6d713
* [fragment] Fix `request_data` * [youtube] Don't use POST for now. It may be easier to break in future Authored by: bashonly, coletdjnz
This commit is contained in:
parent
65f6e80780
commit
f34804b2f9
3 changed files with 3 additions and 2 deletions
|
|
@ -466,7 +466,8 @@ class FragmentFD(FileDownloader):
|
|||
for retry in RetryManager(self.params.get('fragment_retries'), error_callback):
|
||||
try:
|
||||
ctx['fragment_count'] = fragment.get('fragment_count')
|
||||
if not self._download_fragment(ctx, fragment['url'], info_dict, headers):
|
||||
if not self._download_fragment(
|
||||
ctx, fragment['url'], info_dict, headers, info_dict.get('request_data')):
|
||||
return
|
||||
except (urllib.error.HTTPError, http.client.IncompleteRead) as err:
|
||||
retry.error = err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue