Git Product home page Git Product logo

Comments (4)

nivid26 avatar nivid26 commented on May 27, 2024

Hi,
Looks like your code is good, but there is problem with establishing connection between website and computer.
Check internet connection or any firewall setting

from pythondatasciencehandbook.

pushpitkamboj avatar pushpitkamboj commented on May 27, 2024

hey is ur problem solved brother or need help still?

from pythondatasciencehandbook.

SudhanAnnamalai avatar SudhanAnnamalai commented on May 27, 2024

It is probably with error from server side

  • check the status of the intended website in browser
  • Check whether the paging format of your URL is right
  • Check also whether your internet connection is stable ( sometimes the system will throw timeout error, because of unstable internet)
  • You can also check the code in Google colab to rule out firewall issues.

Hope this helps!

from pythondatasciencehandbook.

Chirag529 avatar Chirag529 commented on May 27, 2024

Hello, You are getting TimeoutError caused by a connection attempt that didn't receive a response within a certain time period. For resolving you can:

  1. Double check the URL you are trying to access.
  2. Check your internet connection.
  3. Check for any firewall or proxy server as they might block the requests.
  4. You can use Timeout Handling and can catch the error you are getting.
  5. Try to add User-Agent as some websites treats requests without a User-Agent header as suspicious and block them.

from pythondatasciencehandbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.