@ -75,7 +75,7 @@ fetch_pdf ()
url="${args[$index]}"
# Check to see if we need to download the pdf
if [[ "$url" =~ ^http:// ]] || [[ "$url" =~ ^https:// ]]
if [[ "$url" =~ ^http(s)?:// ]]
then
file=$(basename "$url")
else