Skip to content

KFERMercer/chaturbate-grabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

┌─┐┬ ┬┌─┐┌┬┐┬ ┬┬─┐┌┐ ┌─┐┌┬┐┌─┐  ┌─┐┬─┐┌─┐┌┐ ┌┐ ┌─┐┬─┐
│  ├─┤├─┤ │ │ │├┬┘├┴┐├─┤ │ ├┤───│ ┬├┬┘├─┤├┴┐├┴┐├┤ ├┬┘
└─┘┴ ┴┴ ┴ ┴ └─┘┴└─└─┘┴ ┴ ┴ └─┘  └─┘┴└─┴ ┴└─┘└─┘└─┘┴└─
8===================================================D
              Capture Streaming From CB

Usage:

  1. Clone the repo to your local:

    git clone https://github.com/KFERMercer/chaturbate-grabber.git && cd chaturbate-grabber
  2. Install & trigger some Docker-like shit in your OS.

    # <https://www.google.com/search?q=please+tell+me+how+to+use+docker+I+will+do+anything>
  3. Build (or rebuild after update) the docker image:

    docker build -t ctbcap .
  4. RUN SIMP RUN!

    • Run as daemon:

      1. Custome your own docker-compose file:

        cat ./docker-compose.yml.sample > ./compose.yml

        Then edit ./compose.yml to configure.

      2. Deploy the compose service:

        # Run by background daemon:
        docker compose up -d
        
        # stop the daemon:
        docker compose down
    • Run once:

      docker run -it --rm \
      -e TZ=Asia/Shanghai \
      -v /path/to/viddir:/save \
      -v /path/to/logdir:/log \
      ctbcap:latest <modelname> <--stream>[m3u8 url only]
    • Run in non-container env:

      1. Make sure your shell is bash, and curl, ffmpeg, wget is installed.

      2. Use the following command to run:

        SAVE_PATH=/path/to/savedir \
        LOG_PATH=/path/to/logdir \
        ./ctbcap <modelname> <--stream>[m3u8 url only]

Follow update:

  1. Go to local repo:

    cd chaturbate-grabber
  2. Update repo to newest commit:

    git pull --rebase

(. )( .)