crewAI-tools
crewAI-tools copied to clipboard
ERROR: [youtube:tab] : Unable to download API page: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) (caused by CertificateVerifyError('[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
I am using YoutubeChannelSearchTool for a youtube video transcript task. But when I kickoff my crew object, I am getting the following error
ERROR: [youtube:tab] <youtube channel name>: Unable to download API page: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) (caused by CertificateVerifyError('[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
I am using the latest version of yt-dlp(yt-dlp==2024.7.9)
I added these 2 lines in crew.py file to supress the error temporarily.
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
which version of ssl you are using?
for me getting SSL has no attribute _create_unverified_context