[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.