Techiio-author
Started by Peter DanielsSep 28, 2021

Open
SSL Request error and ValueError with Google Trends API - Pytrends

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

Here is my code, and below is the errors. I have tried a few solutions, but have not gotten anything to work correctly. Thanks for your help.

import pandas as pd 
from pytrends.request import TrendReq

pytrend = TrendReq()

Errors: ValueError: check_hostname requires server_hostname

requests.exceptions.SSLError: HTTPSConnectionPool(host='trends.google.com', port=443): Max retries exceeded with url: /?geo=US (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)')))

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance