GithubHelp home page GithubHelp logo

prajitdas / androidanalytics Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 2.0 614.34 MB

System call analysis and Google Play Store data and app permission analysis.

Home Page: https://mithril.online/

License: MIT License

Shell 3.24% Python 87.85% HTML 0.46% PHP 0.33% Batchfile 0.10% Protocol Buffer 7.77% Jupyter Notebook 0.24%
pyhon machine-learning google-play system-call-analysis

androidanalytics's Introduction

Hi there ๐Ÿ‘‹

androidanalytics's People

Contributors

finin avatar hayabhay avatar mattvlaw avatar prajitdas avatar sannair avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

androidanalytics's Issues

HTTP Error 404

It would seem that the data returned by the query
SELECT * FROM appurls WHERE parsed = 0
may contain a url which does not have a corresponding app in the Google Play Store. This is happening, perhaps because the developer pulled the app or it was removed by Google for some reason. In this case we should remove the url from our own database and continue getting data for other apps. The exception Traceback for the call can be seen below. Fix this!
Error is in code for both getting data and urls in the crawlURLs.py

Traceback (most recent call last):
File "./crawlURLs.py", line 311, in
sys.exit(main(sys.argv))
File "./crawlURLs.py", line 306, in main
doTask(sys.argv[1])
File "./crawlURLs.py", line 294, in doTask
getURLsForParsingAppData(dbHandle) # Extract app data
File "./crawlURLs.py", line 283, in getURLsForParsingAppData
extractAppDataAndStore(dbHandle,row[1])
File "./crawlURLs.py", line 171, in extractAppDataAndStore
page = urllib2.urlopen(req).read()
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

Fix the permission extracted bug

The permission extracted column should be updated when the permissions for an app has been extracted. This is not necessarily a bug if we want to update permissions in the future but in order to extract data from the sites we are getting blocked so we need to maybe mark extracted apps so that we can reduce repetitions.

Wrapper for the API

A wrapper code for the individual APIs do not exist right now. Such a wrapper would make using this API a lot easier. There are plans to do that eventually. At the moment the individual modules can be used to accomplish the necessary tasks.

Database change for Developer

Change developer country column to developer location. The column doesn't represent the developer country but represents the address if it's there on the Google Play Store website.

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.