This application scrapes Twitch channel data from SullyGnome and displays it in a real-time web interface with sorting and filtering capabilities.
- Real-time data visualization as scraping progresses
- Interactive data table with sorting and filtering
- Export data to CSV at any time
- Thread-safe data handling
- Go to the GitHub repository in your web browser
- Click on the green "Code" button near the top right
- Select "Download ZIP" from the dropdown menu
- Once downloaded, locate the ZIP file in your Downloads folder
- Right-click the ZIP file and select "Extract All..." or use your preferred extraction tool
- Choose a location where you want to extract the files (e.g., Desktop)
- Click "Extract"
- Visit the official Python website: https://www.python.org/downloads/
- Click on the "Download Python" button (this will download the latest version for your operating system)
- Once downloaded, run the installer:
- On Windows: Double-click the downloaded .exe file
- On Mac: Double-click the downloaded .pkg file
- On Linux: Follow the instructions for your specific distribution
- IMPORTANT: During installation, check the box that says "Add Python to PATH" before clicking "Install Now"
- Complete the installation process by following the on-screen instructions
-
On Windows:
- Press
Win + Rkeys - Type
cmdand press Enter - Or search for "Command Prompt" in the Start menu
- Press
-
On Mac:
- Press
Command + Spaceto open Spotlight Search - Type "Terminal" and press Enter
- Press
-
On Linux:
- Press
Ctrl + Alt + Tin most distributions - Or find Terminal in your applications menu
- Press
- In your Command Prompt/Terminal, type the following command and press Enter:
pip install uv - Wait for UV to install (this may take a minute)
-
In your Command Prompt/Terminal, you need to navigate to where you extracted the files
-
Use the
cd(change directory) command:cd path/to/extracted/folderFor example, if you extracted to your Desktop:
- On Windows:
cd C:\Users\YourUsername\Desktop\twitch-channel-scraper-main - On Mac/Linux:
cd ~/Desktop/twitch-channel-scraper-main
- On Windows:
- In your Command Prompt/Terminal (while in the project directory), type:
uv sync - This will read the project's requirements and install all necessary dependencies
- Wait for the installation to complete
- In the same Command Prompt/Terminal window, type:
uv run python scrape_analytics.py - You should see messages indicating that the application has started
- Open your web browser and navigate to: http://127.0.0.1:8050/
- Once the web page loads, click the "Start Scraping" button to begin collecting data
- You'll see the data table fill with Twitch channel information in real-time
- To sort the data, click on any column header (click again to reverse sort order)
- To filter data, type in the filter boxes at the top of each column
- To save the current data, click the "Export CSV" button
- The scraper uses random delays between requests to avoid being blocked
- Data is automatically saved to 'twitch_channel_data.csv' when scraping completes
- Exported CSVs include timestamps in the filename
- If you close the application, you can restart it by following Step 7 again
- "Python is not recognized as an internal or external command": You need to restart your Command Prompt/Terminal after installing Python, or you didn't check "Add Python to PATH" during installation
- "UV is not recognized as a command": Try using
python -m pip install uvinstead - "Permission denied": Try running the Command Prompt/Terminal as administrator (Windows) or use
sudobefore commands (Mac/Linux) - No data appears: Check your internet connection or the website might be blocking the scraper