use https; it's required now

This commit is contained in:
Connor Olding 2016-10-12 19:36:22 -07:00
parent dc1988adda
commit 477f67363d

View File

@ -2,8 +2,8 @@
SEP=$'\t'
curl=(curl -sS -m 32 --connect-timeout 8 --retry 3 --retry-delay 1)
URL_SEARCH="${URL_SEARCH:-http://www.nyaa.se/}"
URL_DOWNLOAD="${URL_DOWNLOAD:-http://www.nyaa.se/?page=download&tid=}"
URL_SEARCH="${URL_SEARCH:-https://www.nyaa.se/}"
URL_DOWNLOAD="${URL_DOWNLOAD:-https://www.nyaa.se/?page=download&tid=}"
# all timestamps are given in seconds since the epoch
declare -A searchquery