mirror of https://github.com/yt-dlp/yt-dlp.git
Use `_create_request`
This commit is contained in:
parent
21954e6242
commit
ae8306d707
|
@ -1042,7 +1042,7 @@ class InfoExtractor:
|
|||
dump = base64.b64encode(webpage_bytes).decode('ascii')
|
||||
self._downloader.to_screen(dump)
|
||||
if self.get_param('write_pages'):
|
||||
filename = self._request_dump_filename(urlh.url, video_id, data)
|
||||
filename = self._request_dump_filename(urlh.url, video_id, url_or_request.data)
|
||||
self.to_screen(f'Saving request to {filename}')
|
||||
with open(filename, 'wb') as outf:
|
||||
outf.write(webpage_bytes)
|
||||
|
|
Loading…
Reference in New Issue