-
Notifications
You must be signed in to change notification settings - Fork 108
Following redirects #56
Copy link
Copy link
Open
Description
Howdy! Just wondering if i'm implementing this right. I need to follow redirects, and there doesnt seem to be an option toggle so I tried implementing it this way. It seems to work, but would like some feedback!
Spidr.site(@url, max_depth: 2, limit: 20) do |spider|
spider.every_redirect_page do |page|
spider.visit_hosts << URI.parse(page.location).host
spider.enqueue page.location
end
endReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels