1

For instance, the following example code returns 0:

require 'feedjira'
feed_parsed = Feedjira::Feed.fetch_and_parse("https://news.yahoo.com/rss/topstories")
puts feed_parsed
Evan Appleby
  • 284
  • 4
  • 17

1 Answers1

1

Set ssl_verify_peer to false and that successfully accesses the file. For instance:

require 'feedjira'
feed_parsed = Feedjira::Feed.fetch_and_parse("https://news.yahoo.com/rss/topstories", {:ssl_verify_peer => false})
puts feed_parsed
Evan Appleby
  • 284
  • 4
  • 17