0.0.11 • Published 9 years ago

bone-scrapping v0.0.11

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Bone Scrapping

npm install bone-scrapping

Requirements

python

Then install the following:

pip install mechanize
pip install BeautifulSoup
pip install html2text
var bone_scrapping = require('bone-scrapping')(options);
options = {
  login_name    : 'input name attribute for login input',
  password_name : 'input name attribute for password input',
  username_value: 'value',
  password_value: 'value',
  login_url     : 'Log-in page of the website(URL)',
  url_to_scrap  : 'Page to scrap(URL)',
  form_row      : 'form index where the login is located' - starts with 0
}
Then call:

bone_scrapping.then(function(data) {
  /*it will return the page source code*/
})
0.0.11

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago