From b84222b0ca2ff383eedd33ee246518f8c42a9073 Mon Sep 17 00:00:00 2001 From: joergi <1439809+joergi@users.noreply.github.com> Date: Fri, 28 Feb 2025 12:33:18 +0100 Subject: [PATCH] Fixes URL --- linux_mac/magpi-issue-downloader-latest.sh | 2 +- linux_mac/magpi-issue-downloader.sh | 2 +- .../script-for-using-latest-version.sh | 2 +- sources-for-download/special-issues.txt | 68 +++++++++---------- 4 files changed, 37 insertions(+), 37 deletions(-) diff --git a/linux_mac/magpi-issue-downloader-latest.sh b/linux_mac/magpi-issue-downloader-latest.sh index 2d628bd..5bf49db 100755 --- a/linux_mac/magpi-issue-downloader-latest.sh +++ b/linux_mac/magpi-issue-downloader-latest.sh @@ -13,7 +13,7 @@ IFS=$'\n\t' # VERSION=1.0 # USAGE="Usage: bash magpi-issue-downloader-latest.sh" -MAGPI_URL="https://magpi.raspberrypi.com" +MAGPI_URL="https://magazine.raspberrypi.com" BASEDIR=$(dirname "$0")/.. #printf -v page_url "$MAGPI_URL/issues" diff --git a/linux_mac/magpi-issue-downloader.sh b/linux_mac/magpi-issue-downloader.sh index a8be01f..81f472f 100755 --- a/linux_mac/magpi-issue-downloader.sh +++ b/linux_mac/magpi-issue-downloader.sh @@ -24,7 +24,7 @@ if [ ! -d "$OUTDIR" ]; then mkdir "$OUTDIR" fi -downloadUrl="https://magpi.raspberrypi.com/issues/%02d/pdf/download" +downloadUrl="https://magazine.raspberrypi.com/issues/%02d/pdf/download" file="$BASEDIR/sources-for-download/regular-issues.txt"; diff --git a/sources-for-download/script-for-using-latest-version.sh b/sources-for-download/script-for-using-latest-version.sh index b132e95..bc43b2d 100755 --- a/sources-for-download/script-for-using-latest-version.sh +++ b/sources-for-download/script-for-using-latest-version.sh @@ -13,7 +13,7 @@ IFS=$'\n\t' # you don't need to run this script # this is running automatically on Github each date to update the latest issues -MAGPI_URL="https://magpi.raspberrypi.com" +MAGPI_URL="https://magazine.raspberrypi.com/" BASEDIR=$(dirname "$0")/.. #printf -v page_url "$MAGPI_URL/issues" diff --git a/sources-for-download/special-issues.txt b/sources-for-download/special-issues.txt index 8f34053..5d3e21b 100644 --- a/sources-for-download/special-issues.txt +++ b/sources-for-download/special-issues.txt @@ -1,34 +1,34 @@ -https://magpi.raspberrypi.com/books/se1/pdf/download -https://magpi.raspberrypi.com/books/essentials-bash-vol1/pdf/download -https://magpi.raspberrypi.com/books/projects-1/pdf/download -https://magpi.raspberrypi.com/books/essentials-games-vol1/pdf/download -https://magpi.raspberrypi.com/books/essentials-sense-hat-v1/pdf/download -https://magpi.raspberrypi.com/books/essentials-sonic-pi-v1/pdf/download -https://magpi.raspberrypi.com/books/essentials-scratch-v1/pdf/download -https://magpi.raspberrypi.com/books/essentials-minecraft-v1/pdf/download -https://magpi.raspberrypi.com/books/essentials-gpio-zero-v1/pdf/download -https://magpi.raspberrypi.com/books/essentials-c-v1/pdf/download -https://magpi.raspberrypi.com/books/projects-2/pdf/download -https://magpi.raspberrypi.com/books/essentials-aiy-v1/pdf/download -https://magpi.raspberrypi.com/books/projects-3/pdf/download -https://magpi.raspberrypi.com/books/beginners-1/pdf/download -https://magpi.raspberrypi.com/books/annual-2018/pdf/download -https://magpi.raspberrypi.com/books/projects-4/pdf/download -https://magpi.raspberrypi.com/books/book-of-scratch/pdf/download -https://magpi.raspberrypi.com/books/command-line-second-edition/pdf/download -https://magpi.raspberrypi.com/books/c-gui-programming/pdf/download -https://magpi.raspberrypi.com/books/beginners-guide-2nd-ed/pdf/download -https://magpi.raspberrypi.com/books/beginners-guide-3rd-ed/pdf/download -https://magpi.raspberrypi.com/books/get-started/pdf/download -https://magpi.raspberrypi.com/books/retro-gaming/pdf/download -https://magpi.raspberrypi.com/books/projects-5/pdf/download -https://magpi.raspberrypi.com/books/create-guis/pdf/download -https://magpi.raspberrypi.com/books/beginners-guide-4th-ed/pdf/download -https://magpi.raspberrypi.com/books/handbook-2021/pdf/download -https://magpi.raspberrypi.com/books/micropython-pico/pdf/download -https://magpi.raspberrypi.com/books/computers-that-made-britain/pdf/download -https://magpi.raspberrypi.com/books/handbook-2022/pdf/download -https://magpi.raspberrypi.com/books/retro-gaming-raspberry-pi-2nd-edition/pdf/download -https://magpi.raspberrypi.com/books/raspberry-pi-media-player/pdf/download -https://magpi.raspberrypi.com/books/handbook-2023/pdf/download -https://magpi.raspberrypi.com/books/c-gui-programming-2/pdf/download +https://magazine.raspberrypi.com/books/se1/pdf/download +https://magazine.raspberrypi.com/books/essentials-bash-vol1/pdf/download +https://magazine.raspberrypi.com/books/projects-1/pdf/download +https://magazine.raspberrypi.com/books/essentials-games-vol1/pdf/download +https://magazine.raspberrypi.com/books/essentials-sense-hat-v1/pdf/download +https://magazine.raspberrypi.com/books/essentials-sonic-pi-v1/pdf/download +https://magazine.raspberrypi.com/books/essentials-scratch-v1/pdf/download +https://magazine.raspberrypi.com/books/essentials-minecraft-v1/pdf/download +https://magazine.raspberrypi.com/books/essentials-gpio-zero-v1/pdf/download +https://magazine.raspberrypi.com/books/essentials-c-v1/pdf/download +https://magazine.raspberrypi.com/books/projects-2/pdf/download +https://magazine.raspberrypi.com/books/essentials-aiy-v1/pdf/download +https://magazine.raspberrypi.com/books/projects-3/pdf/download +https://magazine.raspberrypi.com/books/beginners-1/pdf/download +https://magazine.raspberrypi.com/books/annual-2018/pdf/download +https://magazine.raspberrypi.com/books/projects-4/pdf/download +https://magazine.raspberrypi.com/books/book-of-scratch/pdf/download +https://magazine.raspberrypi.com/books/command-line-second-edition/pdf/download +https://magazine.raspberrypi.com/books/c-gui-programming/pdf/download +https://magazine.raspberrypi.com/books/beginners-guide-2nd-ed/pdf/download +https://magazine.raspberrypi.com/books/beginners-guide-3rd-ed/pdf/download +https://magazine.raspberrypi.com/books/get-started/pdf/download +https://magazine.raspberrypi.com/books/retro-gaming/pdf/download +https://magazine.raspberrypi.com/books/projects-5/pdf/download +https://magazine.raspberrypi.com/books/create-guis/pdf/download +https://magazine.raspberrypi.com/books/beginners-guide-4th-ed/pdf/download +https://magazine.raspberrypi.com/books/handbook-2021/pdf/download +https://magazine.raspberrypi.com/books/micropython-pico/pdf/download +https://magazine.raspberrypi.com/books/computers-that-made-britain/pdf/download +https://magazine.raspberrypi.com/books/handbook-2022/pdf/download +https://magazine.raspberrypi.com/books/retro-gaming-raspberry-pi-2nd-edition/pdf/download +https://magazine.raspberrypi.com/books/raspberry-pi-media-player/pdf/download +https://magazine.raspberrypi.com/books/handbook-2023/pdf/download +https://magazine.raspberrypi.com/books/c-gui-programming-2/pdf/download