https://github.com/hitomarukonpaku/stream-crawler
Script to monitor & download TwitCasting
https://github.com/hitomarukonpaku/stream-crawler
ffmpeg twitcasting youtube-dl yt-dlp
Last synced: 8 months ago
JSON representation
Script to monitor & download TwitCasting
- Host: GitHub
- URL: https://github.com/hitomarukonpaku/stream-crawler
- Owner: HitomaruKonpaku
- Created: 2021-12-19T15:39:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-06-03T05:30:35.000Z (about 1 year ago)
- Last Synced: 2025-06-03T18:07:05.830Z (about 1 year ago)
- Topics: ffmpeg, twitcasting, youtube-dl, yt-dlp
- Language: TypeScript
- Homepage:
- Size: 159 KB
- Stars: 14
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# stream-crawler
## Description
> Script to monitor & download TwitCasting, YouTube
## Requirements
- [Node 14 or newer](https://nodejs.org/)
- [ffmpeg](https://www.ffmpeg.org/)
- [yt-dlp](https://github.com/yt-dlp/yt-dlp)
### Docker
- See [example](./example/)
- Download [docker-compose.yaml](./example/docker-compose.yaml) & [config.yaml](./example/config.yaml)
- Save cookies as file with Netscape format (OPTIONAL)
- Try [Open Cookies.txt](https://chromewebstore.google.com/detail/open-cookiestxt/gdocmgbfkjnnpapoeobnolbbkoibbcif) on Chrome
- Run
```sh
docker compose up -d
```
## Installation
```
npm install
```
```
npm run build
```
## Usage
1. Make sure you can run `yt-dlp` & `ffmpeg` from current working directory
```
yt-dlp --version
```
```
ffmpeg -version
```
1. Clone and rename
- [config.example.yaml](config.example.yaml) to `config.yaml`
- Or [config.example.json](config.example.json) to `config.json`
1. Start normally or with [pm2](https://pm2.keymetrics.io)
```
npm start
```
```
pm2 start ecosystem.config.js
```
## Update yt-dlp inside docker container
```sh
docker exec -it stream-crawler yt-dlp --update-to master
```