Skip to content

Downloader

Abraham Riedel-Mishaan edited this page Aug 3, 2018 · 1 revision

Contained in the app_downloader folder, and mainly in downloader.py. The downloaded will take a list of package names and try to download them. When scraping apps, the scraper automatically assigns a uuid to each entry. If use_database flag is on, the downloader will snag the uuid as the filename to download to, otherwise it will just do filename+'.apk'. The downloader is meant to be used at the beginning for downloading everything, and then incrementally to download newly updated apps. More information about each function can be found in the module.

To run from command line execute:

python main.py down

Which will download all apps whose metadata is in the database that have not been downloaded.

Clone this wiki locally