From fb0c673e4841aa00636ddd2350db113043bcbb7b Mon Sep 17 00:00:00 2001 From: robocopAlpha Date: Fri, 16 Jul 2021 03:01:59 +0300 Subject: [PATCH] trying dropbox links --- Links.txt | 10 ++++------ update.pi.sh | 8 ++++---- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Links.txt b/Links.txt index c0563bc..27c99c9 100644 --- a/Links.txt +++ b/Links.txt @@ -2,15 +2,13 @@ https://gitlab.com/robocopAlpha/pihole_lists/-/raw/main/whitelist.txt # Facebook checksum -https://onedrive.live.com/download?cid=657437BB11E4A6E0&resid=657437BB11E4A6E0%2136851&authkey=AKpAocG7UzOq4tc +https://www.dropbox.com/s/dl/bxwqegi7umy4io1/facebook_block.checksum # Facebook Blocklist -https://onedrive.live.com/download?cid=657437BB11E4A6E0&resid=657437BB11E4A6E0%2136852&authkey=ABtJvm-js7fgxi8 - +https://www.dropbox.com/s/dl/xrsg5gswmzfsdd9/facebook_block.txt.xz # Blocklist checksum -https://onedrive.live.com/download?cid=657437BB11E4A6E0&resid=657437BB11E4A6E0%2136854&authkey=AFJZ-x_h0FFAvug - +https://www.dropbox.com/s/dl/78gc475jdil8cx7/MyBlocklist.checksum # Blocklist -https://onedrive.live.com/download?cid=657437BB11E4A6E0&resid=657437BB11E4A6E0%2136855&authkey=AOZzJEs3AgYLJ2M \ No newline at end of file +https://www.dropbox.com/s/dl/yh3y87ue0x3a8ac/MyBlocklist.txt.xz \ No newline at end of file diff --git a/update.pi.sh b/update.pi.sh index 5804dd2..a54a3a4 100755 --- a/update.pi.sh +++ b/update.pi.sh @@ -39,22 +39,22 @@ fi echo "pihole being udpdated on: $(date)" | tee -a "$LOGFILE" -chksum_web=$(curl -sL 'https://onedrive.live.com/download?cid=657437BB11E4A6E0&resid=657437BB11E4A6E0%2136854&authkey=AFJZ-x_h0FFAvug') +chksum_web=$(curl -sL 'https://www.dropbox.com/s/dl/78gc475jdil8cx7/MyBlocklist.checksum') chksum_local=$(md5sum MyBlocklist.txt | cut -c -32) if [ -f MyBlocklist.txt ] && [ "$chksum_web" == "$chksum_local" ]; then echo "${GREEN}MyBlocklist Unchanged. Skipping download.${NC}" 2>&1 | tee -a "$LOGFILE" else echo "${CYAN}Getting Myblocklist${NC}" 2>&1 | tee -a "$LOGFILE" - curl -OJL 'https://onedrive.live.com/download?cid=657437BB11E4A6E0&resid=657437BB11E4A6E0%2136855&authkey=AOZzJEs3AgYLJ2M' + curl -OJL 'https://www.dropbox.com/s/dl/yh3y87ue0x3a8ac/MyBlocklist.txt.xz' xz -fd MyBlocklist.txt.xz fi -chksum_web=$(curl -sL 'https://onedrive.live.com/download?cid=657437BB11E4A6E0&resid=657437BB11E4A6E0%2136851&authkey=AKpAocG7UzOq4tc') +chksum_web=$(curl -sL 'https://www.dropbox.com/s/dl/bxwqegi7umy4io1/facebook_block.checksum') chksum_local=$(md5sum facebook_block.txt | cut -c -32) if [ "$chksum_web" == "$chksum_local" ] && [ -f facebook_block.txt ]; then echo "${GREEN}Facebook blocklist Unchanged. Skipping download.${NC}" 2>&1 | tee -a "$LOGFILE" else echo "${CYAN}Getting Facebook blocklist${NC}" 2>&1 | tee -a "$LOGFILE" - curl -OJL 'https://onedrive.live.com/download?cid=657437BB11E4A6E0&resid=657437BB11E4A6E0%2136852&authkey=ABtJvm-js7fgxi8' + curl -OJL 'https://www.dropbox.com/s/dl/xrsg5gswmzfsdd9/facebook_block.txt.xz' xz -fd facebook_block.txt.xz fi