Python tool for analyzing comments and creating detailed PDF reports and Excel and CSV files.
This repository contains Python scripts that scrape and extract data from the Play Store to generate detailed PDF reports with analysis.
- Scape Coments from Play Store.
- Generate a PDF file with the extracted information and various analyses.
- Generate Excel and CSV files to store the data.
- Can use pretrained AI models for sentiment analysis.
-
Clone this repository:
git clone https://github.com/rmp2000/Comment_Insights.git
-
Create a virtual environment and activate it:
cd Comment_insights python -m venv venv source venv/bin/activate # For Windows: venv\Scripts\activate
-
Install the dependencies:
pip install -r requirements.txt
To execute the main script, use the following arguments:
url: URL of the game or application on the Play Storedevice: Type of device to fetch comments from; can be "phone," "tablet," or "chromebook"type: Type of comment retrieval; use "relevant" for the most relevant comments or "newest" for comments in the order they were postedsentiment: Boolean (False/True) for sentiment analysis using a pre-trained AI model (Note: enabling this may slow down execution)iteration: Number of iterations to collect comments, roughly 33 iterations fetch about 1000 comments
python main.py url=<game_or_app_URL> device=<device_type> type=<comment_type> sentiment=<False/True> iteration=<number_of_iterations>python main.py url=url device="phone" type="relevant" sentiment=False iteration=30This will generate an Excel file and a CSV file in their respective folders, as well as the following PDF:
If you wish to contribute to this project, we welcome collaborations!


