summaryrefslogtreecommitdiff
path: root/bin/extra/spschedule
diff options
context:
space:
mode:
Diffstat (limited to 'bin/extra/spschedule')
-rwxr-xr-xbin/extra/spschedule2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/extra/spschedule b/bin/extra/spschedule
new file mode 100755
index 0000000..b0dd70a
--- /dev/null
+++ b/bin/extra/spschedule
@@ -0,0 +1,2 @@
+#!/bin/sh
+curl -s 'https://subsplease.org/api/?f=schedule&tz=UTC' | jq -r ".schedule.$(date +%A).[] | [.time, .title] | join(\" \")"