allow out of source configs
parent
75297e8d4d
commit
95d0b230e2
|
@ -1,4 +1,3 @@
|
|||
watch Commie 'Yuyushiki - \d\d' 'Aiura - \d\d'
|
||||
watch rori 'Hentai Ouji to Warawanai Neko - '
|
||||
watch FFF 'DATE A LIVE - \d\d(?!v0)'
|
||||
#watch 'Nimei-Raws' '.'
|
||||
|
|
4
meow.sh
4
meow.sh
|
@ -15,11 +15,11 @@ sanitize() {
|
|||
}
|
||||
|
||||
splittags() {
|
||||
awk -v tag="$1" -f splittags.awk
|
||||
awk -v tag="$1" -f "$SRCDIR/splittags.awk"
|
||||
}
|
||||
|
||||
scrape() {
|
||||
TZ=UTC0 awk -v g="$1" -v timestamp="${2:-0}" -v sep="$SEP" -f scrape.awk
|
||||
TZ=UTC0 awk -v g="$1" -v timestamp="${2:-0}" -v sep="$SEP" -f "$SRCDIR/scrape.awk"
|
||||
}
|
||||
|
||||
declare -A groupinsane # unsanitized group names
|
||||
|
|
4
run
4
run
|
@ -1,11 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
SRCDIR="$(readlink -f "$(dirname "$0")" )"
|
||||
|
||||
prettify() {
|
||||
while IFS=$SEP read -r title torrent time; do
|
||||
echo "$title"$'\n'"dl:"$'\t'"$torrent"$'\n'"at:"$'\t'"$(date -d @"$time")"
|
||||
done
|
||||
}
|
||||
|
||||
. meow.sh
|
||||
. "$SRCDIR/meow.sh"
|
||||
. config.sh
|
||||
[ -e times.sh ] && { . times.sh; mv times.sh times.sh.old; }
|
||||
runall | prettify
|
||||
|
|
Loading…
Reference in New Issue