Coder Social home page Coder Social logo

app-scraper's Introduction

app-scraper

A web scraper that, given a website, looks for Android or iOS support

#Setup#

##Requirements## You need to have node and java installed.

##Executing## $ git clone git://[email protected]:anas-ambri/app-scraper.git $ cd app-scraper $ npm install

All the dependencies of the project will be downloaded automatically. Depending on how npm was installed, you might need to run the command npm install as superuser.

#Usage#

  1. Create a websites.txt file containing a list of newline separated websites.
  2. Run the command npm start

See websites.txt for an example of that file.

##Using the androidMarketLib alone## The project uses a customized AndroidMarketLib, used to query the Android Play Store for information on the app. This library can be found under /lib/jar, while the source code can be found under /java. This library was compiled based on the code by Thiel Alexandre here (Apache 2.0 License).

To use this library from the command line, one can run it as a jar, using the command:

java -cp ./lib/jar/androidmarketlib.jar:./lib/jar/protobuf-java.jar com.gc.android.market.api.Main <email> <password> <androidId> <query> <limit>

where:

  • email: email address
  • password: password of aforementioned email address
  • androidId: android ID of a device or emulator associated with email address
  • query: query to be searched for on the market. More details can be found here
  • limit (optional integer): maximum number of results returned. Default is 1

For example, the command:

java -cp ./lib/jar/androidmarketlib.jar:./lib/jar/protobuf-java.jar com.gc.android.market.api.Main [email protected] example 39cffa85d804bc89 Maps 5

This command will output 5 possible apps that match the query Maps.

###Queries### More details soon

app-scraper's People

Contributors

anas-ambri avatar

Stargazers

ming avatar Zvi avatar

Watchers

James Cloos avatar

Forkers

nivertech

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.