Skip to content

Commit d56134f

Browse files
committed
fix PyPi
1 parent f3f8318 commit d56134f

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ And run the script.
1717

1818
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.
1919

20+
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.
21+
2022
## Usage
21-
Just run the script, 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.
23+
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.
2224

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

pyproject.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,30 @@
22
requires = ["setuptools>=69.0.0", "wheel>=0.43.0"]
33
build-backend = "setuptools.build_meta"
44

5+
56
[project]
67
name = "AndroidFileHostScraper"
7-
version = "1.0.2"
8+
version = "1.0.3"
89
description = "A simple AndroidFileHost scraper for fetching links and metadata."
910
readme = "README.md"
1011
license = { text = "Apache-2.0" }
1112
authors = [
1213
{ name = "codefl0w", email = "fl0w_dev@protonmail.com" }
1314
]
15+
16+
1417
requires-python = ">=3.8"
1518
dependencies = [
1619
"requests>=2.31.0",
1720
"beautifulsoup4>=4.12.3"
1821
]
1922

23+
24+
[project.scripts]
25+
afhscraper = "AFHscraper:main"
26+
androidfilehostscraper = "AFHscraper:main"
27+
28+
2029
[project.urls]
2130
Homepage = "https://github.com/codefl0w/AndroidFileHostScraper"
2231
Repository = "https://github.com/codefl0w/AndroidFileHostScraper"

0 commit comments

Comments
 (0)