1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] SSLError: HTTPSConnectionPool

Discussão em 'Python' iniciado por Stack, Dezembro 19, 2024.

  1. Stack

    Stack Membro Participativo

    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?

    Continue reading...

Compartilhe esta Página