Skip to content
Scraping Croatian radio playlists
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
loaders
music
radio
radioscraper
ui
.eslintrc
.flake8
.gitignore
.travis.yml
Makefile
README.md
fabfile.py
manage.py
package.json
project.env.dist
pytest.ini
requirements.dev.txt
requirements.prod.txt
requirements.test.txt
requirements.txt
webpack.config.js
yarn.lock

README.md

Radio Scraper

An app which collects radio plays and presents them in a nice web frontend.

Server setup

/etc/systemd/system/radioscraper.service

[Unit]
Description=Radio scraper daemon
Requires=radioscraper.socket
After=network.target

[Service]
PIDFile=/run/radioscraper/pid
User=ihabunek
Group=ihabunek
WorkingDirectory=/home/ihabunek/projects/radioscraper
EnvironmentFile=/home/ihabunek/projects/radioscraper/systemd.env
ExecStart=/home/ihabunek/projects/radioscraper/_env/bin/gunicorn --pid /run/radioscraper/pid radioscraper.wsgi
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
PrivateTmp=true

[Install]
WantedBy=multi-user.target

/etc/systemd/system/radioscraper.socket

[Unit]
Description=Radioscraper socket

[Socket]
ListenStream=/run/radioscraper/socket
ListenStream=0.0.0.0:9000
ListenStream=[::]:8000

[Install]
WantedBy=sockets.target
You can’t perform that action at this time.