N
N
nazandr2016-11-18 13:39:45
Python
nazandr, 2016-11-18 13:39:45

How to fix [SSL: CERTIFICATE_VERIFY_FAILED] error in feedparser?

habrFeed = feedparser.parse('http://habrahabr.ru/rss/feed/posts/6266e7ec4301addaf92d10eb212b4546')

It is necessary to parse rss, but for some reason it gives an error
{'feed': {}, 'entries': [], 'bozo': 1, 'bozo_exception': URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)'),)}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2016-11-18
@CityCat4

Hm. And who issued the certificate that you are trying to parse and is there a CA that issued it in the lists of root CAs on the computer where it is being parsed?
well this might help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question