Home:ALL Converter>SSLError: HTTPSConnectionPool

SSLError: HTTPSConnectionPool

Ask Time:2020-10-29T02:41:39         Author:cbyoda

Json Formatter

I am trying to do some web scraping of movie reviews from IMDB through the following code:

import requests
from time import sleep
url='https://www.imdb.com/title/tt0068646/reviews?ref_=tt_urv'
response= requests.get(url)

and am getting this error :

SSLError: HTTPSConnectionPool(host='www.imdb.com', port=443): Max retries exceeded with url: /title/tt0068646/reviews?ref_=tt_urv (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

Any thoughts?

Author:cbyoda,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/64579360/sslerror-httpsconnectionpool
yy