mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-04-13 20:33:56 +00:00
fix(ranq-quote): use https for quote retrieval (#13021)
This commit is contained in:
parent
f97e871c33
commit
34e9830dd3
|
@ -8,7 +8,7 @@ function quote {
|
||||||
|
|
||||||
# Get random quote data
|
# Get random quote data
|
||||||
local 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 \
|
| iconv -c -f ISO-8859-1 -t UTF-8 \
|
||||||
| command grep -a -m 1 'dt class="quote"')"
|
| command grep -a -m 1 'dt class="quote"')"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user