Optimize youtube-dl download options
This commit is contained in:
parent
e6876d95d1
commit
e40273f767
@ -27,12 +27,13 @@
|
||||
serviceConfig = {
|
||||
User = "data-mixcloud";
|
||||
Group = "data-mixcloud";
|
||||
Restart="on-failure";
|
||||
};
|
||||
path = [ pkgs.youtube-dl ];
|
||||
script = ''
|
||||
mkdir -p /data/mixcloud/couchsofa/
|
||||
cd /data/mixcloud/couchsofa/
|
||||
youtube-dl https://www.mixcloud.com/couchsofa/
|
||||
youtube-dl --ignore-errors --playlist-random --newline https://www.mixcloud.com/couchsofa/
|
||||
'';
|
||||
startAt = "*-*-* 05:05:00";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user