Metadata-Version: 2.4
Name: AndroidFileHostScraper
Version: 2.0.0
Summary: Simple and powerful Python script to download files from AndroidFileHost by imitating their API calls.
Author-email: codefl0w <fl0w_dev@protonmail.com>
License: Apache-2.0
Project-URL: Homepage, https://github.com/codefl0w/AndroidFileHostScraper
Project-URL: Repository, https://github.com/codefl0w/AndroidFileHostScraper
Project-URL: Issues, https://github.com/codefl0w/AndroidFileHostScraper/issues
Project-URL: Donate, https://buymeacoffee.com/fl0w
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31.0
Requires-Dist: beautifulsoup4>=4.12.3
Dynamic: license-file


# AndroidFileHost Scraper
Simple and powerful Python script to look for keywords and download files from AndroidFileHost by imitating their API calls. Supports downloading from multiple pages, mirror selection and sorting pages.

![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/codefl0w/AndroidFileHostScraper/total?style=flat-square&logo=github) ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/codefl0w/AndroidFileHostScraper/.github%2Fworkflows%2Fbuild.yml?style=flat-square&label=Executable%20build%20workflow)

 


## Why?

AFH is slowly dying, which means a lot of ROMs, kernels and whatnot will be forever gone if we don't archive them elsewhere. This script makes everything a lot easier.

## Installation
Get the requirements: `pip install requests beautifulsoup4` 
And run the script. 

You can also check the [releases](https://github.com/codefl0w/AndroidFileHostScraper/releases) page to download precompiled executables for your platform if you don't want to install Python. Releases are created automatically using GitHub Actions and mostly untested, so please create an issue if you encounter a problem.

Lastly, you can install the PyPi distribution globally by running `pip install AndroidFileHostScraper`. You can then call it via either `AndroidFileHostScraper` or `afhscraper` in your terminal.

## Usage
Just run the tool, search for keywords, select how the files should be sorted, choose the amount of files to download, select your primary server and hit enter. The scraper will automatically go through the files and download them.

Downloads can be found within the root directory of the script.



