ratt: update urls, fix ratt-hourly
This commit is contained in:
parent
9b8d8cf417
commit
b2df4b4c8a
|
@ -17,7 +17,7 @@ EOF
|
|||
echo "looping through $URLS"
|
||||
cat "$URLS" | while read line;do
|
||||
echo "fetching $line"
|
||||
ratt auto "$line" | \
|
||||
ratt "$line" | \
|
||||
xmlstarlet sel -t -c "//item" >> "$OUTFILE" || :
|
||||
done
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ in {
|
|||
script = builtins.readFile ./ratt-hourly.sh;
|
||||
scriptArgs = "${./urls} ${out-path}";
|
||||
|
||||
preStart = "install -v -m750 ${./ebk.yml} ${ratt-path}/ebk.yml"; # ratt requires the config file in the cwd
|
||||
serviceConfig.User = "nginx";
|
||||
serviceConfig.WorkingDirectory= ratt-path;
|
||||
startAt = "00/3:07"; # every 3 hours, fetch latest
|
||||
|
|
|
@ -7,3 +7,4 @@ https://www.ebay-kleinanzeigen.de/s-muehlhausen/dymo/k0l9313r5
|
|||
https://www.ebay-kleinanzeigen.de/s-zu-verschenken/muehlhausen/lautsprecher/k0c192l9313r5
|
||||
https://www.ebay-kleinanzeigen.de/s-muehlhausen/preis::40/winkelschleifer/k0l9313r5
|
||||
https://www.ebay-kleinanzeigen.de/s-muehlhausen/preis::40/kontaktgrill/k0l9313r5
|
||||
https://www.kleinanzeigen.de/s-dices-throne/k0r200
|
||||
|
|
Loading…
Reference in a new issue