0.0
No commit activity in last 3 years
No release in over 3 years
A simple gem to query a keyword and retrieve pages on which you could add comments.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.7
 Project Readme

comment_seeker

Endless thirst for comments!

== Getting Started

First add the gem to your Gemfile.

gem 'comment_seeker'

Then call the seek method passing your query as argument.

comment_seeker = CommentSeeker.new
results = comment_seeker.seek("twitter pour entreprise")

You get a list of Mechanize::Page objects. You can access for instance:

results.each do |page|
  page.forms    # All the form tags on the page
  page.images   # All the img tags on the page
  page.links    # All the links on the page
  page.links_with(:href => /some_pattern/)  # Special links on the page
  page.title
  page.uri
end

Check here for the full list of available methods: http://mechanize.rubyforge.org/Mechanize/Page.html