Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Login with session #20

Open
sathish316 opened this issue Jun 28, 2012 · 0 comments
Open

Support for Login with session #20

sathish316 opened this issue Jun 28, 2012 · 0 comments

Comments

@sathish316
Copy link
Owner

Support for crawling authenticated content.

Use Mechanize instead of Nokogiri to login and retain session info before crawling content that requires authentication

Example:

class Project
  html "http://jira.myproject.com"
  login "http://jira.myproject.com/login" do
    username {css: "form#login #username"}, value: "foo"
    password {css: "form#login #password"}, value: "bar"
    submit {css: "form#login #submit"}
  end
end
@ghost ghost assigned kalarani Jul 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants