GithubHelp home page GithubHelp logo

medialab / artoo Goto Github PK

View Code? Open in Web Editor NEW
1.1K 51.0 92.0 2.23 MB

artoo.js - the client-side scraping companion.

Home Page: http://medialab.github.io/artoo/

License: MIT License

JavaScript 96.80% CSS 0.96% HTML 2.24%
scraping

artoo's Introduction

artoo

artoo.js is a piece of JavaScript code meant to be run in your browser's console to provide you with some scraping utilities.

The library's full documentation is available on github pages.

Contribution

Build Status

Contributions are more than welcome. Feel free to submit any pull request as long as you added unit tests if relevant and passed them all.

To install the development environment, clone your fork and use the following commands:

# Install dependencies
npm install

# Testing
npm test

# Compiling dev & prod bookmarklets
gulp bookmarklets

# Running a test server hosting the concatenated file
npm start

# Running a https server hosting the concatenated file
# Note that you'll need some ssl keys (instructions to come...)
npm run https

Authors

artoo.js is being developed by Guillaume Plique @ SciencesPo - médialab.

Logo by Daniele Guido.

R2D2 ascii logo by Joan Stark aka jgs.

artoo's People

Contributors

aidantreasure avatar andykais avatar boogheta avatar dcohenb avatar garysiu avatar jacomyal avatar jbryson3 avatar joscha avatar nhodges avatar robtaylor avatar rouxrc avatar slashdotdash avatar yomguithereal avatar zacharyliu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

artoo's Issues

Chrome extension

If one wants to change page and keeps some persistent state, it will be necessary to create a chrome extension injecting artoo in every page.

Spider

A client-side spider crawling through several urls thanks to artoo's context.

ajaxSpider

Function taking a list of urls and doing something on it. Useful to scrape a bunch of ajax accessible things. Asynchronous or not.

Remote database

A remote database accessible through a server (localhost for instance), to collect some data that localstorage or downloads could not handle correctly.

State

Keep a persistent state for artoo enabling it to keep a script working through different pages.

Can be loaded from local Storage or remote.

Masks

Possibility to load masks from remote servers.

For instance:

artoo.loadMask('facebook', cb);

would load selectors and helpers already coded by others and helping to scrape the content of the site.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.