This repository contains the code for a simple script that can be used to download apps from Cafe Bazaar.
- Extracts app name, description, average rating, category, install count range, last updated date, and download link.
- Provides error handling for invalid URLs, connection errors, unexpected API responses, and abnormal API responses.
Before running the script, make sure you have the following:
- Python 3.x installed.
- Required Python libraries:
re
,requests
,loguru
.
You can install the required libraries using:
pip install requests loguru
- Run the script
python 'Cafe Bazaar Downloader.py'
- Enter Cafe Bazaar app URL when prompted
- App information and download link will be printed
Enter app URL: https://cafebazaar.ir/app/cab.snapp.passenger
App Name: اسنپ
Description: اسنپ! سامانه هوشمند حملونقل
...
Download link: https://arvancdn.cafebazaar.ir/apks/516772011370.apk?hash=dbde8cdf9284a910f39890728d2da148&expires=1693481295&a=.apk
The script uses the loguru
library for logging. Logs are saved in the app.log
file.
If you encounter any issues, refer to the logs for more information.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to create an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.