#!/bin/sh case "$PATH_INFO" in "") printf '20 text/gemini\r\n' wget -O - https://audio.oneyearbibleonline.com/ | grep mp3 |sed 's/href="/\t/g' |cut -f2 |cut -d '"' -f1 | sed 's/^/=>/g' ;; *.mp3) printf '31 https://audio.oneyearbibleonline.com/%s\r\n' "$PATH_INFO" ;; *) printf '31 https://audio.oneyearbibleonline.com/%s\r\n' "$PATH_INFO" ;; esac