Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-13T00:01:03.000Z (4 months ago)
- Last Synced: 2024-10-15T04:12:13.318Z (4 months ago)
- Topics: ffmpeg, twitcasting, youtube-dl, yt-dlp
- Language: TypeScript
- Homepage:
- Size: 324 KB
- Stars: 14
- Watchers: 3
- Forks: 4
- 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
```