fix(ranq-quote): use https for quote retrieval (#13021)

master
Linda TJ 1 year ago committed by GitHub
parent f97e871c33
commit 34e9830dd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      plugins/rand-quote/rand-quote.plugin.zsh

@ -8,7 +8,7 @@ function quote {
# Get random quote data
local data
data="$(command curl -s --connect-timeout 2 "http://www.quotationspage.com/random.php" \
data="$(command curl -s --connect-timeout 2 "https://www.quotationspage.com/random.php" \
| iconv -c -f ISO-8859-1 -t UTF-8 \
| command grep -a -m 1 'dt class="quote"')"

Loading…
Cancel
Save