mirror of
https://github.com/edu4rdshl/microsoft-giveaway-books.git
synced 2026-07-17 23:24:53 +00:00
Update script to use our local uploaded files.
Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
This commit is contained in:
parent
d03df6590c
commit
32af0fd180
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@ echo "Made with love by @edu4rdshl."
|
|||
echo
|
||||
echo "Downloading books links..."
|
||||
|
||||
GIVEAWAY_URLS=("https://msdnshared.blob.core.windows.net/media/2017/07/Ligman_eBooks_2017.txt" "http://www.mssmallbiz.com/ericligman/Key_Shorts/MSFTFreeEbooks.txt")
|
||||
# GIVEAWAY_URLS=("https://msdnshared.blob.core.windows.net/media/2017/07/Ligman_eBooks_2017.txt" "http://www.mssmallbiz.com/ericligman/Key_Shorts/MSFTFreeEbooks.txt")
|
||||
GIVEAWAY_URLS=("https://raw.githubusercontent.com/Edu4rdSHL/microsoft-giveaway-books/master/files/Ligman_eBooks_2017.txt" "https://raw.githubusercontent.com/Edu4rdSHL/microsoft-giveaway-books/master/files/MSFTFreeEbooks.txt")
|
||||
|
||||
for URL in ${GIVEAWAY_URLS[@]}; do
|
||||
if [ $(curl -sSfLo "links-temp.txt" "$URL" -w '%{http_code}\n') -eq 200 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue