This script fetches the top 1000 PowerBI visuals from the Microsoft Store and extracts various metadata, including download URLs, using multithreading to speed up the process.
- Fetch metadata for PowerBI visuals from the Microsoft Store.
- Multithreaded fetching of download URLs for improved performance.
- JSON output of parsed data.
- Python 3.7 or higher
-
Clone the repository:
git clone https://github.com/diem0n/powerbi-visuals-fetcher.git cd powerbi-visuals-fetcher
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
.\venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install the required packages:
pip install -r requirements.txt
-
Run the script:
python main.py
-
The script will output a file named
parsed.json
with the fetched and parsed data.
The configuration is set within the script, including the base URL, query parameters, output file, and the number of threads. You can adjust these settings in the config
dictionary in the main.py
file.
The script uses the logging
module to provide detailed information about the execution process. The logs will be printed to the console.
Feel free to fork the repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.