GithubHelp home page GithubHelp logo

Unable to retrieve feeds about reader HOT 4 CLOSED

realpython avatar realpython commented on July 24, 2024
Unable to retrieve feeds

from reader.

Comments (4)

durden avatar durden commented on July 24, 2024 1

Found the solution! Apparently on OS X there's some certificate stuff that needs to be installed when using Python 3.6 from Python.org. See [this stack overflow post])https://stackoverflow.com/questions/49183801/ssl-certificate-verify-failed-with-urllib).

Essentially go to /Applications/Python 3.6 and run the Install Certificates.command

from reader.

durden avatar durden commented on July 24, 2024

I traced this down to some kind of SSL error so maybe I don't have something setup correctly? The error is a little confusing because the parsing doesn't return any feeds.

For example this line returns:

{'feed': {}, 'entries': [], 'bozo': 1, 'bozo_exception': URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:841)'),)}

from reader.

durden avatar durden commented on July 24, 2024

I'm able to read the XML feed correctly when pasting the url into Safari. I also saw a few related issues for feedparser since that's likely where the 'problem' is:

I'm guessing it's something about my own SSL setup or the Python 3.6.6 I'm using not having the SSL module compiled correctly?

I can't remember for sure, but I think I'm using the Python directly from Python.org.

from reader.

gahjelle avatar gahjelle commented on July 24, 2024

Ah, brilliant! Maybe we should add a small note about this in the Readme?

from reader.

Related Issues (4)

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.