about summary refs log tree commit diff stats
path: root/runsfeed
diff options
context:
space:
mode:
Diffstat (limited to 'runsfeed')
-rwxr-xr-xrunsfeed8
1 files changed, 6 insertions, 2 deletions
diff --git a/runsfeed b/runsfeed index a08f1a3..bc49937 100755 --- a/runsfeed +++ b/runsfeed
@@ -22,8 +22,12 @@ main() {
22 test -d "$(dirname "$sfeedrc")" || mkdir -p "$(dirname "$sfeedrc")" 22 test -d "$(dirname "$sfeedrc")" || mkdir -p "$(dirname "$sfeedrc")"
23 test -d "$sfeedpath" || mkdir -p "$sfeedpath" 23 test -d "$sfeedpath" || mkdir -p "$sfeedpath"
24 24
25 log Finding Invidious host... 25 if ! $NOFETCH; then
26 get_invidious_url "https://api.invidious.io/instances.json?sort_by=health" 26 log Finding Invidious host...
27 get_invidious_url "https://api.invidious.io/instances.json?sort_by=health"
28 fi
29 log Removing unsubscribed feeds...
30 remove_unsubs "$sfeedrc"
27 log Updating feeds... 31 log Updating feeds...
28 update "$sfeedrc" 32 update "$sfeedrc"
29 log Updating urls... 33 log Updating urls...