6b57efde799d7a367453eeec25a671bb6a5f488b
Torn User Activity Scraper
This project is a web application that scrapes user activity data from the Torn API and displays the results. It includes features for starting and stopping the scraping process, viewing logs, and downloading results.
Features
- Start and stop scraping user activity data
- View real-time logs
- Download data and log files
- View scraping results and statistics
Requirements
- Python 3.8+
- Flask
- Flask-Bootstrap
- Flask-WTF
- Pandas
- Requests
Installation
- Clone the repository:
git clone https://github.com/yourusername/torn-user-activity-scraper.git
cd torn-user-activity-scraper
- Create a virtual environment and activate it:
python3 -m venv venv
source venv/bin/activate
- Install the required packages:
pip install -r requirements.txt
- Set up your configuration file:
Create a
config.inifile in the root directory of the project by renamingexample_config.iniwith the following content:
[DEFAULT]
SECRET_KEY = your_secret_key
API_KEY = your_api_key
Usage
- Run the Flask application:
flask run
- Open your web browser and navigate to
http://127.0.0.1:5000/.
License
This project is licensed under the MIT License.
Description
Languages
Python
58.8%
JavaScript
18.1%
HTML
17.4%
CSS
5.2%
Dockerfile
0.4%