youtube] Extracting URL: https://www.youtube.com/watch?v=lsfHtagwsNE&pp=ygUJd2FyZWhvdXNl
[youtube] lsfHtagwsNE: Downloading webpage
[youtube] lsfHtagwsNE: Downloading ios player API JSON
[youtube] lsfHtagwsNE: Downloading m3u8 information
[info] lsfHtagwsNE: Downloading 1 format(s): 243
[download] Resuming download at byte 1865041
[download] Destination: ..\origin_data\Locus Cobots Help Boots UK Meet High Volume Pandemic Demand | Warehouse Automation that Scales_lsfHtagwsNE.webm
[download] Got error: 6031999 bytes read, 849561 more expected
Traceback (most recent call last):
File "E:\01_pycharmProject\hengyi\img_split\test\ytb_dl_test.py", line 37, in
ydl.download(urls_list[50:100])
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 3608, in download
self.__download_wrapper(self.extract_info)(
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 3583, in wrapper
res = func(*args, **kwargs)
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 1616, in extract_info
return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 1627, in wrapper
return func(self, *args, **kwargs)
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 1783, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 1842, in process_ie_result
ie_result = self.process_video_result(ie_result, download=download)
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 3016, in process_video_result
self.process_info(new_info)
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 179, in wrapper
return func(self, *args, **kwargs)
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 3484, in process_info
success, real_download = self.dl(temp_filename, info_dict)
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 3204, in dl
return fd.download(name, new_info, subtitle)
File "D:\python\lib\site-packages\yt_dlp\downloader\common.py", line 466, in download
ret = self.real_download(filename, info_dict)
File "D:\python\lib\site-packages\yt_dlp\downloader\http.py", line 367, in real_download
for retry in RetryManager(self.params.get('retries'), self.report_retry):
File "D:\python\lib\site-packages\yt_dlp\utils_utils.py", line 5206, in iter
self.error_callback(self.error, self.attempt, self.retries)
File "D:\python\lib\site-packages\yt_dlp\downloader\common.py", line 412, in report_retry
RetryManager.report_retry(
File "D:\python\lib\site-packages\yt_dlp\utils_utils.py", line 5213, in report_retry
return error(f'{e}. Giving up after {count - 1} retries') if count > 1 else error(str(e))
File "D:\python\lib\site-packages\yt_dlp\downloader\common.py", line 415, in
error=IDENTITY if not fatal else lambda e: self.report_error(f'\r[download] Got error: {e}'),
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 1094, in report_error
self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
File "D:\python\lib\site-packages\yt_dlp\YoutubeDL.py", line 1033, in trouble
raise DownloadError(message, exc_info)
[download] Got error: 6031999 bytes read, 849561 more expected