You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 14, 2023. It is now read-only.
require 'diffbot'
Diffbot::Article.fetch(url, ENV['DIFFBOT_API']) do |request|
request.html = true # Return HTML instead of plain text.
request.summary = true # Return a summary text instead of the full text.
end
That returns :
NoMethodError:
The property 'nextPage' is not defined for Diffbot::Article.
Maybe the Diffbot API changed since issue #1 and its fix ?
Regards
The text was updated successfully, but these errors were encountered:
In fact I'm crawling multiple urls by categories and it fails on some index pages like https://www.space.com/science-astronomy which I should avoid since they are not articles.
I think that Diffbot::Article.property :next_page, from: :nextPage should be kept "just in case", I will try to find an example.
Hi,
I'm currently trying to make your gem working.
By following your documentation, I do :
That returns :
Maybe the Diffbot API changed since issue #1 and its fix ?
Regards
The text was updated successfully, but these errors were encountered: