Skip to content

A CLI tool that scrapes video links from cms website

License

Notifications You must be signed in to change notification settings

aboueleyes/cms-scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cms-scrapper

A selenium (headless browser) script that scrapes video links from CMS website

⚠️ This script is made for Linux, if you are using Windows it is pain, just use Linux

Description

The script scrapes the m3u8 file so you can access the videos from dacast directly, making it very easy to stream or to download

Installation

> sudo apt install git chromium-chromedriver python3-pip ffmpeg nodejs npm mpv
> sudo npm install --global ffmpeg-progressbar-cli    
> git clone https://github.com/aboueleyes/cms-scrapper.git
> cd cms-scrapper/
> sudo pip3 install -r requirements.txt

Also you need mpv or vlc to stream the videos

Usage

> python scrape.py -o "links_file" # Heavy operation please be patient 
> python play.py -i "links_file" # for streaming
> python download.py -i "links_file" # for downloading

Contribution

For any feedback or issues, feel free to open an issue, make sure to keep it as detailed as possible.

If you would like to contribute, feel free to fork the repo, and open a PR. However, please create an issue first with the feature/bug-fix you would like to implement

License

The script is open source under the MIT License.

DISCLAIMER

This script is in no way legally associated with the GUC. It is simply a personal project for automating day-to-day tasks involving the GUC system.

About

A CLI tool that scrapes video links from cms website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages