[SSL: certificate_verify_failed] problem when downloading video using you get and ffmpeg
Since the you get -- debug
debugging shows that it is a certificate verification problem, the part ignoring SSL certificate verification is added to the code and implemented in pycharm (non command line)
Modify url = 'website', output_Dir = R 'save path'
import ssl
from you_get import common
# Ignore certificate validation issues
ssl._create_default_https_context = ssl._create_unverified_context
# Call any_download_playlist in you_get.common to download a collection
common.any_download_playlist(url='https://www.bilibili.com/video/BVXXX',stream_id='',info_only=False,
output_dir=r'F:\StudyLesson\YouGet',merge=True)
# Call any_download in you_get.common for single set download
common.any_download(url='https://www.bilibili.com/video/BVXXX?p=8',stream_id='',
info_only=False,output_dir=r'F:\StudyLesson\YouGet',merge=True)
So far, the video has been downloaded successfully
record.
Read More:
- Error when downloading the built-in dataset of pytoch = urllib.error.urlerror: urlopen error [SSL: certificate_verify_failed]
- Python Error: certificate verify failed: certificate has expired
- [Solved] urllib.error.URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]
- [Solved] Pytorch Download CIFAR1 Datas Error: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certi
- [Solved] urllib.error.URLError: <urlopen error [SSL: WRONG_VERSION_NUMBER] wrong version number
- How to Solve Opencv Reads Video Error: cv2.error
- Python: How to Disable InsecureRequestWarning error
- Python Error aiohttp.client_exceptions.ClientConnectorCertificateError, Cannot connect to host:443
- SSL error of urllib3 when Python uploads files using Minio
- [Python] Right-click Selenium to Save the picture error: attributeerror: solution to module ‘pyscreen’ has no attribute ‘locationonwindow’
- python3 ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833) Error
- Keras import package error: importerror: cannot import name ‘get_ config‘
- Decode PUP data Error when reading radar data [How to Solve]
- Python 3 urllib has no URLEncode attribute
- Python: How to parses HTML, extracts data, and generates word documents
- Importerror: DLL load failed: unable to find the specified module in Python
- An introduction to sys modules in Python and how packages are imported and used
- linux ubuntu pip search Fault: <Fault -32500: “RuntimeError: PyPI‘s XMLRPC API is currently disab
- [Solved] Demjson error: ERROR: Command errored out with exit status 1