python 컨테이너에서
pytrends api 사용시 타임아웃 에러가 발생합니다.
제 컨테이너에서 out bound 정책이 차단되는지 궁금합니다.
코드는 아래와 같습니다.
pytrend = TrendReq(timeout=(10,25),hl='ko',tz=540 ,backoff_factor=0.1, requests_args={'verify':False})
pytrend.build_payload(kw_list=[keyword], timeframe='now 4-H',geo='KR' )
Interest Over Time
topicsdf = pytrend.related_topics()
에러메세지는 아래와 같습니다.
/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host 'trends.google.com'. Adding certificate v
erification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,