Coder Social home page Coder Social logo

porn-video-scraper's Introduction

中文

Porn-Video-Scraper

Overview

This script is designed to download and convert videos from the pornographic website "jieav.com". It utilizes Selenium for web navigation, BeautifulSoup for HTML parsing, and FFmpeg for video conversion. The script can be configured to search for specific keywords, download a limited number of videos, and handle both M3U8 and MP4 video formats.

Users who are too lazy to read the README can click here to go to the Releases section and download the executable file to run it directly (Windows).

Features

  • Web Scraping: Uses Selenium and BeautifulSoup to navigate and parse HTML pages.
  • Video Download: Supports downloading both M3U8 and MP4 video formats.
  • Video Conversion: Converts M3U8 streams to MP4 using FFmpeg.
  • Keyword Filtering: Allows specifying positive and negative keywords to filter video downloads.
  • Progress Tracking: Utilizes tqdm for displaying download and conversion progress.

Requirements

  • Python 3.x
  • Selenium
  • BeautifulSoup
  • Requests
  • FFmpeg
  • Tqdm
  • WebDriver Manager

Installation

  1. Clone the Repository

    git clone https://github.com/ystemsrx/Porn-Video-Scraper
    cd VideoScraperDownloader
  2. Install Python Dependencies

    pip install selenium beautifulsoup4 requests tqdm webdriver-manager
  3. Install FFmpeg

    • Windows: Download from FFmpeg.org and add to PATH.
    • Mac: brew install ffmpeg
    • Linux: sudo apt-get install ffmpeg

Configuration

  • Positive Keywords: Add keywords to positive_keywords list to include videos that match these keywords.
  • Negative Keywords: Add keywords to negative_keywords list to exclude videos that match these keywords.
  • Search Keywords: Add search terms to search_words list to search specific videos.
  • Download Limit: Set download_limit to control the number of videos to download (0 for unlimited).

Usage

  1. Set Configuration: Update the script with your desired configuration for keywords, download limit, and other settings.
  2. Run the Script:
    python Porn-Video-Scraper.py

GUI Version

This script also includes a GUI version for easier use. The GUI allows you to configure settings, start downloads, and monitor progress through a user-friendly interface. Run python Porn-Video-Scraper-GUI.py.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Disclaimer

This script is intended for educational purposes only. The user is responsible for complying with all applicable laws and regulations regarding the downloading and use of content from the internet.

porn-video-scraper's People

Contributors

ystemsrx avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.