0.0.11 • Published 10 years ago

bone-scrapping v0.0.11

Weekly downloads
3
License
MIT
Repository
github
Last release
10 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

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago