apksearch 1.2.5__tar.gz → 1.2.6__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {apksearch-1.2.5 → apksearch-1.2.6}/PKG-INFO +15 -7
- {apksearch-1.2.5 → apksearch-1.2.6}/README.md +13 -5
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch/__init__.py +2 -1
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch/cli.py +45 -6
- apksearch-1.2.6/apksearch/sites/apkad.py +109 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch/sites/apkcombo.py +2 -2
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch.egg-info/PKG-INFO +15 -7
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch.egg-info/SOURCES.txt +1 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/pyproject.toml +1 -1
- {apksearch-1.2.5 → apksearch-1.2.6}/LICENSE +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch/__main__.py +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch/sites/__init__.py +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch/sites/apkfab.py +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch/sites/apkmirror.py +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch/sites/apkpure.py +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch/sites/appteka.py +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch.egg-info/dependency_links.txt +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch.egg-info/entry_points.txt +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch.egg-info/requires.txt +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/apksearch.egg-info/top_level.txt +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/setup.cfg +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/tests/test_apkcombo.py +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/tests/test_apkfab.py +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/tests/test_apkmirror.py +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/tests/test_apkpure.py +0 -0
- {apksearch-1.2.5 → apksearch-1.2.6}/tests/test_appteka.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: apksearch
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.6
|
4
4
|
Summary: Search for apks on varius websites
|
5
5
|
Author-email: Abhi <allinoneallinone00@gmail.com>
|
6
6
|
License: MIT License
|
@@ -50,17 +50,26 @@ Requires-Dist: pytest>=7.4.3; extra == "dev"
|
|
50
50
|
Requires-Dist: black>=23.12.1; extra == "dev"
|
51
51
|
Requires-Dist: flake8>=6.1.0; extra == "dev"
|
52
52
|
|
53
|
-
|
53
|
+
<h1 align="center">apksearch</h1>
|
54
54
|
|
55
55
|
`apksearch` is a Python library designed to search for APK files on different APK websites, such as APKPure and APKMirror. It allows users to find APKs, check for available versions, and retrieve download links.
|
56
56
|
|
57
57
|
**The Inspiration:**
|
58
58
|
There were countless occasions when I needed a specific APK for a package name, only to find it unavailable on popular platforms. This led to the tedious task of manually visiting multiple websites and searching one by one.
|
59
|
+
<details>
|
60
|
+
<summary>screenshot</summary>
|
61
|
+
<p align="center">
|
62
|
+
<img width="500" src="https://github.com/user-attachments/assets/cd54eaeb-a56b-40b3-835f-b48b1e7772f3"></img><br>
|
63
|
+
As you can see, Roblox version <code>2.647.716</code> is not available on APKPure and APKCombo, this helped me avoid going through these sites.
|
64
|
+
</p>
|
65
|
+
</details>
|
66
|
+
|
67
|
+
**P.S:** If you're looking for an APK downloader, I highly recommend using [apkeep](https://github.com/EFForg/apkeep).
|
59
68
|
|
60
69
|
# Features
|
61
70
|
|
62
71
|
- **Search APKs:** The library provides methods to search for APKs using package names.
|
63
|
-
- **Retrieve APK Versions and Download Links:** It can fetch available versions and their download links for a given APK from
|
72
|
+
- **Retrieve APK Versions and Download Links:** It can fetch available versions and their download links for a given APK from various websites.
|
64
73
|
- **Command-Line Interface:** A CLI is available for users to search for APKs directly from the command line.
|
65
74
|
|
66
75
|
## Supported Websites
|
@@ -70,6 +79,7 @@ There were countless occasions when I needed a specific APK for a package name,
|
|
70
79
|
- [APKCombo](https://apkcombo.app/)
|
71
80
|
- [APKFab](https://apkfab.com/)
|
72
81
|
- [Appteka](https://appteka.store/)
|
82
|
+
- [APKAD](https://apk.ad/)
|
73
83
|
|
74
84
|
> [!NOTE]
|
75
85
|
> **For site owners:**
|
@@ -143,7 +153,7 @@ if result:
|
|
143
153
|
- **`search_apk(self) -> None | tuple[str, str]`**: Searches for the APK on APKMirror and returns the title and link if found.
|
144
154
|
- **`find_version(self, apk_link: str, version: str) -> str`**: Finds and returns the download link for the given APK link and version.
|
145
155
|
|
146
|
-
#### `AppTeka`
|
156
|
+
#### `AppTeka` | `APKAD`
|
147
157
|
|
148
158
|
- **`__init__(self, pkg_name: str)`**: Initializes with the package name.
|
149
159
|
- **`search_apk(self, version: str = None) -> None | tuple[str, str]`**: Searches for the APK on AppTeka and returns the title and link if found. If a version is provided, it checks if that version is available and returns the corresponding download link, None otherwise. If no version is provided, it returns the link for the latest version available.
|
@@ -165,8 +175,6 @@ pytest
|
|
165
175
|
- [APKUpdater](https://github.com/rumboalla/apkupdater) for APKMirror API.
|
166
176
|
- [apkeep](https://github.com/EFForg/apkeep) for APKPure API.
|
167
177
|
|
168
|
-
**Recommendation:** If you're looking for an APK downloader, I highly recommend using [apkeep](https://github.com/EFForg/apkeep).
|
169
|
-
|
170
178
|
## License
|
171
179
|
|
172
180
|
This project is licensed under the MIT License. See the [LICENSE](https://github.com/AbhiTheModder/apksearch/blob/main/LICENSE) file for more details.
|
@@ -1,14 +1,23 @@
|
|
1
|
-
|
1
|
+
<h1 align="center">apksearch</h1>
|
2
2
|
|
3
3
|
`apksearch` is a Python library designed to search for APK files on different APK websites, such as APKPure and APKMirror. It allows users to find APKs, check for available versions, and retrieve download links.
|
4
4
|
|
5
5
|
**The Inspiration:**
|
6
6
|
There were countless occasions when I needed a specific APK for a package name, only to find it unavailable on popular platforms. This led to the tedious task of manually visiting multiple websites and searching one by one.
|
7
|
+
<details>
|
8
|
+
<summary>screenshot</summary>
|
9
|
+
<p align="center">
|
10
|
+
<img width="500" src="https://github.com/user-attachments/assets/cd54eaeb-a56b-40b3-835f-b48b1e7772f3"></img><br>
|
11
|
+
As you can see, Roblox version <code>2.647.716</code> is not available on APKPure and APKCombo, this helped me avoid going through these sites.
|
12
|
+
</p>
|
13
|
+
</details>
|
14
|
+
|
15
|
+
**P.S:** If you're looking for an APK downloader, I highly recommend using [apkeep](https://github.com/EFForg/apkeep).
|
7
16
|
|
8
17
|
# Features
|
9
18
|
|
10
19
|
- **Search APKs:** The library provides methods to search for APKs using package names.
|
11
|
-
- **Retrieve APK Versions and Download Links:** It can fetch available versions and their download links for a given APK from
|
20
|
+
- **Retrieve APK Versions and Download Links:** It can fetch available versions and their download links for a given APK from various websites.
|
12
21
|
- **Command-Line Interface:** A CLI is available for users to search for APKs directly from the command line.
|
13
22
|
|
14
23
|
## Supported Websites
|
@@ -18,6 +27,7 @@ There were countless occasions when I needed a specific APK for a package name,
|
|
18
27
|
- [APKCombo](https://apkcombo.app/)
|
19
28
|
- [APKFab](https://apkfab.com/)
|
20
29
|
- [Appteka](https://appteka.store/)
|
30
|
+
- [APKAD](https://apk.ad/)
|
21
31
|
|
22
32
|
> [!NOTE]
|
23
33
|
> **For site owners:**
|
@@ -91,7 +101,7 @@ if result:
|
|
91
101
|
- **`search_apk(self) -> None | tuple[str, str]`**: Searches for the APK on APKMirror and returns the title and link if found.
|
92
102
|
- **`find_version(self, apk_link: str, version: str) -> str`**: Finds and returns the download link for the given APK link and version.
|
93
103
|
|
94
|
-
#### `AppTeka`
|
104
|
+
#### `AppTeka` | `APKAD`
|
95
105
|
|
96
106
|
- **`__init__(self, pkg_name: str)`**: Initializes with the package name.
|
97
107
|
- **`search_apk(self, version: str = None) -> None | tuple[str, str]`**: Searches for the APK on AppTeka and returns the title and link if found. If a version is provided, it checks if that version is available and returns the corresponding download link, None otherwise. If no version is provided, it returns the link for the latest version available.
|
@@ -113,8 +123,6 @@ pytest
|
|
113
123
|
- [APKUpdater](https://github.com/rumboalla/apkupdater) for APKMirror API.
|
114
124
|
- [apkeep](https://github.com/EFForg/apkeep) for APKPure API.
|
115
125
|
|
116
|
-
**Recommendation:** If you're looking for an APK downloader, I highly recommend using [apkeep](https://github.com/EFForg/apkeep).
|
117
|
-
|
118
126
|
## License
|
119
127
|
|
120
128
|
This project is licensed under the MIT License. See the [LICENSE](https://github.com/AbhiTheModder/apksearch/blob/main/LICENSE) file for more details.
|
@@ -3,5 +3,6 @@ from .sites.apkmirror import APKMirror
|
|
3
3
|
from .sites.appteka import AppTeka
|
4
4
|
from .sites.apkcombo import APKCombo
|
5
5
|
from .sites.apkfab import APKFab
|
6
|
+
from .sites.apkad import APKAD
|
6
7
|
|
7
|
-
__all__ = ["APKPure", "APKMirror", "AppTeka", "APKCombo", "APKFab"]
|
8
|
+
__all__ = ["APKPure", "APKMirror", "AppTeka", "APKCombo", "APKFab", "APKAD"]
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import argparse
|
2
2
|
|
3
|
-
from
|
3
|
+
from collections.abc import Callable
|
4
|
+
from apksearch import APKPure, APKMirror, AppTeka, APKCombo, APKFab, APKAD
|
4
5
|
from requests.exceptions import ConnectionError, ConnectTimeout
|
5
6
|
|
6
7
|
# Color codes
|
@@ -11,6 +12,21 @@ YELLOW = "\033[93m"
|
|
11
12
|
NC = "\033[0m"
|
12
13
|
|
13
14
|
|
15
|
+
def search(
|
16
|
+
func: Callable[[str, str], object],
|
17
|
+
pkg_name: str,
|
18
|
+
version: str | None,
|
19
|
+
log_err: bool = False,
|
20
|
+
) -> None:
|
21
|
+
try:
|
22
|
+
func(pkg_name, version)
|
23
|
+
except Exception as exc:
|
24
|
+
if log_err:
|
25
|
+
print(f"Error in {func.__name__}: {exc}")
|
26
|
+
else:
|
27
|
+
pass
|
28
|
+
|
29
|
+
|
14
30
|
def search_apkpure(pkg_name: str, version: str | None) -> None:
|
15
31
|
apkpure = APKPure(pkg_name)
|
16
32
|
try:
|
@@ -63,6 +79,23 @@ def search_apkfab(pkg_name: str, version: str | None) -> None:
|
|
63
79
|
print(f"{BOLD}APKFab:{NC} No Results!")
|
64
80
|
|
65
81
|
|
82
|
+
def search_apkad(pkg_name: str, version: str | None) -> None:
|
83
|
+
apkad = APKAD(pkg_name)
|
84
|
+
try:
|
85
|
+
result_apkad: tuple[str, str] | None = apkad.search_apk()
|
86
|
+
except (ConnectionError, ConnectTimeout):
|
87
|
+
result_apkad = None
|
88
|
+
print(f"{RED}Failed to resolve 'api.apk.ad'!{NC}")
|
89
|
+
if result_apkad:
|
90
|
+
title, apk_link = result_apkad
|
91
|
+
print(f"{BOLD}APKAD:{NC} Found {GREEN}{title}{NC}") if title else None
|
92
|
+
print(
|
93
|
+
f" ╰─> {BOLD}Link: {YELLOW}{apk_link}{NC}"
|
94
|
+
) if not version else print(" ╰─> Doesn't support version search!")
|
95
|
+
else:
|
96
|
+
print(f"{BOLD}APKAD:{NC} No Results!")
|
97
|
+
|
98
|
+
|
66
99
|
def search_apkcombo(pkg_name: str, version: str | None) -> None:
|
67
100
|
apkcombo = APKCombo(pkg_name)
|
68
101
|
try:
|
@@ -140,21 +173,27 @@ def main():
|
|
140
173
|
)
|
141
174
|
parser.add_argument("pkg_name", help="The package name of the APK")
|
142
175
|
parser.add_argument("--version", help="The version of the APK", required=False)
|
176
|
+
parser.add_argument(
|
177
|
+
"--log_err", help="Enable error logs", action="store_true", required=False
|
178
|
+
)
|
143
179
|
args = parser.parse_args()
|
144
180
|
|
145
181
|
pkg_name = args.pkg_name
|
146
182
|
version = args.version
|
183
|
+
log_err = args.log_err
|
147
184
|
print(f"{BOLD}Searching for {YELLOW}{pkg_name}{NC}...")
|
148
185
|
# Initiate search on apkpure
|
149
|
-
search_apkpure
|
186
|
+
search(search_apkpure, pkg_name, version, log_err)
|
150
187
|
# Initiate search on apkmirror
|
151
|
-
search_apkmirror
|
188
|
+
search(search_apkmirror, pkg_name, version, log_err)
|
152
189
|
# Initiate search on appteka
|
153
|
-
search_appteka
|
190
|
+
search(search_appteka, pkg_name, version, log_err)
|
154
191
|
# Initiate search on apkcombo
|
155
|
-
search_apkcombo
|
192
|
+
search(search_apkcombo, pkg_name, version, log_err)
|
156
193
|
# Initiate search on apkfab
|
157
|
-
search_apkfab
|
194
|
+
search(search_apkfab, pkg_name, version, log_err)
|
195
|
+
# Initiate search on apkad
|
196
|
+
search(search_apkad, pkg_name, version, log_err)
|
158
197
|
|
159
198
|
|
160
199
|
if __name__ == "__main__":
|
@@ -0,0 +1,109 @@
|
|
1
|
+
import json
|
2
|
+
from bs4 import BeautifulSoup
|
3
|
+
import requests
|
4
|
+
|
5
|
+
|
6
|
+
class APKAD:
|
7
|
+
"""
|
8
|
+
This class provides methods to search for an APK on APKAD based on package name,
|
9
|
+
and to find available versions and their download links for a given APK link.
|
10
|
+
|
11
|
+
Parameters:
|
12
|
+
pkg_name (str): The package name of the APK to search for.
|
13
|
+
|
14
|
+
Attributes:
|
15
|
+
pkg_name (str): The package name of the APK to search for.
|
16
|
+
base_url (str): The base URL of the APKAD website.
|
17
|
+
search_url (str): The URL used to search for APKs on APKAD.
|
18
|
+
headers (dict): The headers used for making HTTP requests.
|
19
|
+
session (requests.Session): The session object used for making HTTP requests.
|
20
|
+
|
21
|
+
Methods:
|
22
|
+
search_apk() -> None | tuple[str, str]:
|
23
|
+
Searches for the APK on APKAD and returns the title and link if found.
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self, pkg_name: str):
|
27
|
+
self.pkg_name = pkg_name
|
28
|
+
self.base_url = "https://downloader.apk.ad"
|
29
|
+
self.api_url = "https://api.apk.ad"
|
30
|
+
self.search_url = (
|
31
|
+
self.api_url
|
32
|
+
+ f"/get?hl=en&package={self.pkg_name}&device=phone&arch=arm64-v8a&vc=&device_id="
|
33
|
+
)
|
34
|
+
self.headers = {
|
35
|
+
"accept": "text/event-stream",
|
36
|
+
"accept-language": "en-US,en;q=0.9,en-IN;q=0.8",
|
37
|
+
"cache-control": "no-cache",
|
38
|
+
"dnt": "1",
|
39
|
+
"origin": "https://downloader.apk.ad",
|
40
|
+
"pragma": "no-cache",
|
41
|
+
"priority": "u=1, i",
|
42
|
+
"referer": "https://downloader.apk.ad/",
|
43
|
+
"sec-ch-ua": '"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',
|
44
|
+
"sec-ch-ua-mobile": "?0",
|
45
|
+
"sec-ch-ua-platform": '"Windows"',
|
46
|
+
"sec-fetch-dest": "empty",
|
47
|
+
"sec-fetch-mode": "cors",
|
48
|
+
"sec-fetch-site": "same-site",
|
49
|
+
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0",
|
50
|
+
}
|
51
|
+
self.session = requests.Session()
|
52
|
+
|
53
|
+
def search_apk(self) -> None | tuple[str, str]:
|
54
|
+
"""
|
55
|
+
Searches for the APK on APKAD and returns the title and link if found.
|
56
|
+
|
57
|
+
Returns:
|
58
|
+
None: If no matching APK is found.
|
59
|
+
tuple[str, str]: A tuple containing the title and link of the matching APK if found.
|
60
|
+
"""
|
61
|
+
url = self.search_url
|
62
|
+
response = self.session.get(url, headers=self.headers, stream=True)
|
63
|
+
stream_response = ""
|
64
|
+
for line in response.iter_lines():
|
65
|
+
if line:
|
66
|
+
line_response = line.decode("utf-8")
|
67
|
+
if '"progress":100' in line_response:
|
68
|
+
line_response = line_response[6:]
|
69
|
+
stream_response += line_response
|
70
|
+
break
|
71
|
+
if stream_response:
|
72
|
+
data = json.loads(stream_response)
|
73
|
+
html_body = data["html"]
|
74
|
+
soup = BeautifulSoup(html_body, "html.parser")
|
75
|
+
if not soup:
|
76
|
+
return None
|
77
|
+
title = soup.find("li", {"class": "_title"})
|
78
|
+
if title:
|
79
|
+
title = title.text.strip()
|
80
|
+
button = soup.find(
|
81
|
+
"button", {"onclick": True, "id": "downloadButtonapk"}
|
82
|
+
)["onclick"]
|
83
|
+
if button:
|
84
|
+
zip_args = [
|
85
|
+
arg.strip("'")
|
86
|
+
for arg in button.split("zip(")[1].split(")")[0].split(",")
|
87
|
+
]
|
88
|
+
h = zip_args[0] # hash
|
89
|
+
p = zip_args[-1] # type
|
90
|
+
token = zip_args[1] # token
|
91
|
+
ip = zip_args[2] # ip
|
92
|
+
google_id = zip_args[3] # package_name
|
93
|
+
t = zip_args[4] # time
|
94
|
+
apk_url = f"https://zip.apk.ad/compress?h={h}&p={p}&token={token}&ip={ip}&google_id={google_id}&t={t}"
|
95
|
+
apk_url_response = self.session.get(
|
96
|
+
url=apk_url, headers=self.headers, stream=True
|
97
|
+
)
|
98
|
+
for line in apk_url_response.iter_lines():
|
99
|
+
if line:
|
100
|
+
line_response = line.decode("utf-8")
|
101
|
+
if "File is ready for download." in line_response:
|
102
|
+
line_response = json.loads(line_response)
|
103
|
+
line_html = line_response["html"]
|
104
|
+
line_soup = BeautifulSoup(line_html, "html.parser")
|
105
|
+
download_link = line_soup.find("a")["href"]
|
106
|
+
if download_link.endswith("\n"):
|
107
|
+
download_link = download_link[:-1]
|
108
|
+
return title, download_link
|
109
|
+
return None
|
@@ -28,7 +28,7 @@ class APKCombo:
|
|
28
28
|
def __init__(self, pkg_name: str):
|
29
29
|
self.pkg_name = pkg_name
|
30
30
|
self.base_url = "https://apkcombo.app"
|
31
|
-
self.search_url = self.base_url + "/search
|
31
|
+
self.search_url = self.base_url + "/search"
|
32
32
|
self.headers = {
|
33
33
|
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
|
34
34
|
"accept-language": "en-US,en;q=0.9,en-IN;q=0.8",
|
@@ -59,7 +59,7 @@ class APKCombo:
|
|
59
59
|
tuple[str, str]: A tuple containing the title and link of the matching APK if found.
|
60
60
|
"""
|
61
61
|
pkg_name = self.pkg_name
|
62
|
-
url = self.search_url + pkg_name
|
62
|
+
url = self.search_url + "/" + pkg_name
|
63
63
|
response: requests.Response = self.session.get(
|
64
64
|
url, headers=self.headers, allow_redirects=False
|
65
65
|
)
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: apksearch
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.6
|
4
4
|
Summary: Search for apks on varius websites
|
5
5
|
Author-email: Abhi <allinoneallinone00@gmail.com>
|
6
6
|
License: MIT License
|
@@ -50,17 +50,26 @@ Requires-Dist: pytest>=7.4.3; extra == "dev"
|
|
50
50
|
Requires-Dist: black>=23.12.1; extra == "dev"
|
51
51
|
Requires-Dist: flake8>=6.1.0; extra == "dev"
|
52
52
|
|
53
|
-
|
53
|
+
<h1 align="center">apksearch</h1>
|
54
54
|
|
55
55
|
`apksearch` is a Python library designed to search for APK files on different APK websites, such as APKPure and APKMirror. It allows users to find APKs, check for available versions, and retrieve download links.
|
56
56
|
|
57
57
|
**The Inspiration:**
|
58
58
|
There were countless occasions when I needed a specific APK for a package name, only to find it unavailable on popular platforms. This led to the tedious task of manually visiting multiple websites and searching one by one.
|
59
|
+
<details>
|
60
|
+
<summary>screenshot</summary>
|
61
|
+
<p align="center">
|
62
|
+
<img width="500" src="https://github.com/user-attachments/assets/cd54eaeb-a56b-40b3-835f-b48b1e7772f3"></img><br>
|
63
|
+
As you can see, Roblox version <code>2.647.716</code> is not available on APKPure and APKCombo, this helped me avoid going through these sites.
|
64
|
+
</p>
|
65
|
+
</details>
|
66
|
+
|
67
|
+
**P.S:** If you're looking for an APK downloader, I highly recommend using [apkeep](https://github.com/EFForg/apkeep).
|
59
68
|
|
60
69
|
# Features
|
61
70
|
|
62
71
|
- **Search APKs:** The library provides methods to search for APKs using package names.
|
63
|
-
- **Retrieve APK Versions and Download Links:** It can fetch available versions and their download links for a given APK from
|
72
|
+
- **Retrieve APK Versions and Download Links:** It can fetch available versions and their download links for a given APK from various websites.
|
64
73
|
- **Command-Line Interface:** A CLI is available for users to search for APKs directly from the command line.
|
65
74
|
|
66
75
|
## Supported Websites
|
@@ -70,6 +79,7 @@ There were countless occasions when I needed a specific APK for a package name,
|
|
70
79
|
- [APKCombo](https://apkcombo.app/)
|
71
80
|
- [APKFab](https://apkfab.com/)
|
72
81
|
- [Appteka](https://appteka.store/)
|
82
|
+
- [APKAD](https://apk.ad/)
|
73
83
|
|
74
84
|
> [!NOTE]
|
75
85
|
> **For site owners:**
|
@@ -143,7 +153,7 @@ if result:
|
|
143
153
|
- **`search_apk(self) -> None | tuple[str, str]`**: Searches for the APK on APKMirror and returns the title and link if found.
|
144
154
|
- **`find_version(self, apk_link: str, version: str) -> str`**: Finds and returns the download link for the given APK link and version.
|
145
155
|
|
146
|
-
#### `AppTeka`
|
156
|
+
#### `AppTeka` | `APKAD`
|
147
157
|
|
148
158
|
- **`__init__(self, pkg_name: str)`**: Initializes with the package name.
|
149
159
|
- **`search_apk(self, version: str = None) -> None | tuple[str, str]`**: Searches for the APK on AppTeka and returns the title and link if found. If a version is provided, it checks if that version is available and returns the corresponding download link, None otherwise. If no version is provided, it returns the link for the latest version available.
|
@@ -165,8 +175,6 @@ pytest
|
|
165
175
|
- [APKUpdater](https://github.com/rumboalla/apkupdater) for APKMirror API.
|
166
176
|
- [apkeep](https://github.com/EFForg/apkeep) for APKPure API.
|
167
177
|
|
168
|
-
**Recommendation:** If you're looking for an APK downloader, I highly recommend using [apkeep](https://github.com/EFForg/apkeep).
|
169
|
-
|
170
178
|
## License
|
171
179
|
|
172
180
|
This project is licensed under the MIT License. See the [LICENSE](https://github.com/AbhiTheModder/apksearch/blob/main/LICENSE) file for more details.
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "apksearch"
|
7
|
-
version = "1.2.
|
7
|
+
version = "1.2.6"
|
8
8
|
description = "Search for apks on varius websites"
|
9
9
|
authors = [{ name = "Abhi", email = "allinoneallinone00@gmail.com" }]
|
10
10
|
license = { file = "LICENSE" }
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|