首页 > 其他分享 >ytb_dlp踩坑

ytb_dlp踩坑

时间:2024-07-23 16:22:09浏览次数:13  
标签:self py dlp File line ytb yt

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

标签:self,py,dlp,File,line,ytb,yt
From: https://www.cnblogs.com/Gimm/p/18318701

相关文章

  • ytb_dlp源码解析
    源代码#-*-coding:utf-8-*-fromyt_dlpimportYoutubeDLimportpickle,osos.environ["http_proxy"]="http://127.0.0.1:10809"os.environ["https_proxy"]="http://127.0.0.1:10809"withopen('../urls.pkl',�......
  • DLP显示原理
    DLP原理参考内容:1.视频DLP显示原理,即数字光处理,利用DMD数字光处理芯片实现光处理的技术,将光源发出的光通过透镜,光棒均匀化处理后再通过一个色轮将光分为RGB三色,再由透镜透射到DMD芯片后再反射到投影镜头,实现投影成像,其核心在于DMD芯片,在其上面分布这数百万比头发更小的镜片,这些......
  • 数据安全保护系统有哪些?五大数据防泄漏DLP系统,你选对了吗?
    在数字化快速发展的今天,数据已经成为企业最宝贵的资产之一。点击获取软件https://work.weixin.qq.com/ca/cawcde06a33907e60a为了应对不断升级的网络安全威胁,选择合适的数据防泄漏(DLP)系统显得尤为重要。本文将为您介绍五款领先的数据防泄漏DLP系统:一、SymantecDataLoss......
  • yt-dlp 使用指南 (中文版)
    yt-dlp使用指南(中文版)yt-dlp是一款功能丰富的命令行音视频下载器,支持数千个网站。该项目是基于已停止维护的youtube-dlc项目的youtube-dl的分支。安装WindowsUnixMacOSPyPi源代码压缩包其他变体所有版本您可以使用二进制文件、pip或第三方包管理器安装yt-dlp......
  • DLP数据防泄密产品选型时 要注意哪些要素?
    DLP(DataLossPrevention,数据丢失防护)产品是一套用于防止敏感数据泄露的技术解决方案。它们通过监控、检测和阻止敏感数据的传输来保护企业的信息资产。所以很多企业会选择DLP数据防泄密产品来保护数据安全。DLP数据防泄密产品的核心功能通常包括:1、数据发现:DLP产品能够在整个......
  • 52 Things: Number 34: Describe the Baby-Step/Giant-Step method for breaking DLPs
    52Things:Number34:DescribetheBaby-Step/Giant-StepmethodforbreakingDLPs52件事:第34件:描述打破DLP的小步/大步方法 Thisisthelatestinaseriesofblogpoststoaddressthelistof '52ThingsEveryPhDStudentShouldKnow' todoCryptography:ase......
  • 52 Things: Number 11: What are the DLP, CDH and DDH problems?
    52Things:Number11:WhataretheDLP,CDHandDDHproblems?52件事:数字11:DLP、CDH和DDH问题是什么? Thisisthelatestinaseriesofblogpoststoaddressthelistof'52ThingsEveryPhDStudentShouldKnowToDoCryptography':asetofquestion......
  • 2024数据安全:超过60%组织的DLP“成熟度低”
    人是数据安全的关键变量每年,一些漏洞和零日攻击都会成为安全团队的梦靥。但除了这些技术问题之外,大多数分析人士认识到,数据通常是由用户丢失的,而不是系统漏洞和配置错误。在这些情况下,潜在的原因可能是简单的粗心大意,凭据被威胁行为者窃取,或者在极端的例子中,恶意的内部人员利......
  • Docker部署yt-dlp
    一、简介一个简单的网站视频下载工具二、安装yt-dlp绿联DX4600为例,首先我们打开Docker管理器,进入镜像管理,然后在镜像仓库中搜索marcobaobao/yt-dlp-webui​,选择latest​版本并下载。​​下载完成后,我们在本地镜像中找到刚刚下载的镜像,点击创建容器,起一个英文名,勾选创......
  • Paddlpaddle+DeepSpeech2自动语音识别部署
    Paddlpaddle+DeepSpeech2自动语音识别部署背景语音识别环境DeepSpeech2Paddlpaddle1.8.5Python2.7Nvidia-dockerubuntu1~18.04安装与配置可以不使用nvidia-docker,直接跳到第五步1.首先安装nvidia-dockercurlhttps://get.docker.com|shsudosystemctlstartdocker&&sudosy......