Skip to content

Fast Python GUI for scraping 4chan threads. Features async downloading, image previews, thread monitoring, and smart selection.

License

Notifications You must be signed in to change notification settings

jptrx/4chan-Media-Scraper

Repository files navigation

4chan Media Scraper

Python Platform License Version

A sophisticated, asynchronous media scraper for 4chan threads. Version 1.2.0 introduces a native VLC-based video player, automatic updates, and persistent user settings.

Features

  • Modern GUI: Built with ttkbootstrap for a clean, flat, modern aesthetic.
  • Native Video Player (VLC): Embeds the VLC Media Player engine directly into the app for high-performance playback of WebM and MP4 files with full audio support.
  • GIF Support: Full animated preview support for GIF files.
  • Auto-Updater: Automatically checks for new releases on startup (configurable) and can self-update both the Script and Executable versions.
  • Persistent Settings: Remembers your download path, auto-load preference, and folder structure settings between sessions.
  • Asynchronous Downloading: Powered by aiohttp for high-speed, non-blocking downloads.
  • Smart Selection:
    • Visual Grid: View thumbnails of all media.
    • Right-Click: Open full-resolution preview.
    • Left-Click: Select/Deselect for download.
  • Clipboard Integration: Right-click the URL bar to paste, or enable "Auto-load" to load threads immediately.
  • Quick Navigation: "Open Thread in Browser" option to quickly view the original thread.

Prerequisites

  • OS: Windows 10/11 Recommended.
  • VLC Media Player: Required for the in-app video preview to function (audio/video). Download VLC here.
  • Python 3.7+: (Only if running from source).

Installation

Option 1: Windows Installer (Recommended)

Download 4chan-Media-Scraper-Setup-v1.2.0.exe from the Releases page.

  • Installs the application to your system (Program Files).
  • Creates a Start Menu Program Group and Desktop shortcut.
  • Includes a clean uninstaller.

Option 2: Portable (Standalone)

Download 4chan-Media-Scraper-v1.2.0.exe.

  • No installation required.
  • Runs immediately (Great for USB drives).

Option 3: Source Code (.zip)

Download 4chan-Media-Scraper-Source-v1.2.0.zip.

  1. Extract the zip file.
  2. Double-click run_scraper.bat.
    • This script will automatically install Python dependencies and launch the app.

Option 4: Git Clone (Advanced)

  1. Clone the repository:
    git clone [https://github.com/jptrx/4chan-Media-Scraper.git](https://github.com/jptrx/4chan-Media-Scraper.git)
  2. Install dependencies:
    pip install -r requirements.txt
    Note: If on Windows, run run_scraper.bat to handle dependencies automatically.
  3. Run the app:
    python chan_scraper.py

Usage

  1. Copy URL: Copy a thread URL (e.g., https://boards.4chan.org/g/thread/123456).
  2. Paste: Right-click the Thread URL box to paste.
  3. Preview:
    • Images/GIFs: Right-click to view.
    • Videos: Right-click to play with sound (requires VLC).
  4. Download: Click Download Selected to save them to your chosen folder.

Menu Options

  • File > Open Thread in Browser: Opens the current thread in your default web browser.
  • Help > Check for Updates: Manually check for new versions.
  • Help > Check on Startup: Toggle whether the app automatically checks for updates when launched.

Troubleshooting

  • "VLC Media Player not found": Ensure you have the standard 64-bit VLC Media Player installed on your PC.
  • Antivirus Warnings: If the standalone .exe is flagged, this is a generic "False Positive" common with unsigned open-source software. You can safely whitelist it or run the Python source code directly if you prefer.

Disclaimer

This tool is provided for educational purposes only. The developers are not affiliated with 4chan. Please respect the copyright and privacy of content creators and adhere to the website's terms of service.

License

MIT License

About

Fast Python GUI for scraping 4chan threads. Features async downloading, image previews, thread monitoring, and smart selection.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published