https://github.com/marin-m/peristop
A simple archiver for popular Periscope broadcasts with a web interface (2016)
https://github.com/marin-m/peristop
archiver flask periscope python
Last synced: 4 months ago
JSON representation
A simple archiver for popular Periscope broadcasts with a web interface (2016)
- Host: GitHub
- URL: https://github.com/marin-m/peristop
- Owner: marin-m
- Created: 2017-02-15T13:34:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-15T14:00:07.000Z (over 9 years ago)
- Last Synced: 2025-05-15T07:42:44.763Z (about 1 year ago)
- Topics: archiver, flask, periscope, python
- Language: Python
- Homepage:
- Size: 3.79 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Peristop - Simple Periscope archiver
This application will retrieve or record the most popular Periscope broadcasts on a regular basis, and make these accessible through a handy Flask web interface.
Popular records are recorded live as soon as they reach a viewer thresold for the last 24h, and fully retrieved if replay is available. Chat is recorded too. Video chunk concatenation and thumbnail generation is done using ffmpeg.
Dependencies: Python ≥ 3.5, Flask, Python-Requests, AIOHTTP, PIL, Python-Websocket, Nginx, ffmpeg.
## Usage
You need a MySQL server running. Database schema is created through `crawler/scheme.sql`.
mysql -u username -p password < crawler/scheme.sql
Fill in a `config.py` file, based on `config.sample.py`.
Run those two scripts in different terminal tabs:
```
$ cd crawler
$ ./peristopd.py
```
```
$ cd webapp
$ ./run.sh
```
Then, launch nginx using the `nginx.conf` script.
```
$ sudo nginx -c nginx.conf
```
You will then access the Periscope interface on [http://localhost:80/](http://localhost:80/) (if you didn't change the port).