[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:
- How to Solve Opencv Reads Video Error: cv2.error
- Python synthesizes multiple pictures into one video
- [Solved] RuntimeError: DefaultCPUAllocator: not enough memory: you tried to allocate 1105920 bytes.
- Failed to establish a new connection: [winerror 10048] in the requests thread pool, the interface is called circularly to get the datagram error
- Python: How to get the size of the picture (byte/kb/mb)
- [Solved] Fatal Python error: initfsencoding: Unable to get the locale encoding
- [Solved] TensorFlow Error: UnknownError (see above for traceback): Failed to get convolution algorithm.
- Linux Fatal Python error: Py_Initialize Unable to get the locale encoding
- [PHP] Solve PHP Fatal error: Call to undefined function mcrypt_get_iv_size()
- [Solved] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- Tensorflow: Common Usage of tf.get_variable_scope()
- [Solved] PyCharm pytest-html Install Error: Try to run this command from the system terminal. Make sure that you use
- Invalid python sd, Fatal Python error: init_fs_encoding: failed to get the Python cod [How to Solve]
- [Solved] Django Access to the backend error: Invalid block tag on line 98: ‘trans‘, expected ‘elif , ‘else‘或‘ endif. Did you forget
- You can run the Ansible Playbook in Python by hand
- [Solved] Training yolov5 Error: attributeerror: can get attribute sppf on Module
- [Python] Right-click Selenium to Save the picture error: attributeerror: solution to module ‘pyscreen’ has no attribute ‘locationonwindow’
- [Solved] YOLO v5 Error: AttributeError: Can‘t get attribute SPPF on module models
- [Solved] Windows Configurate Python Environment error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft
- [Solved] django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.Did you install mysqlclie