An open API service indexing awesome lists of open source software.

https://github.com/teraskull/magpi-downloader

Download all MagPi and Hackspace issues with an automated script.
https://github.com/teraskull/magpi-downloader

bash download downloader hackspace magazine magpi pdf raspberrypi

Last synced: 7 months ago
JSON representation

Download all MagPi and Hackspace issues with an automated script.

Awesome Lists containing this project

README

          


MagPi Downloader


Download all MagPi and Hackspace issues with an automated script.



OS

## Installing

```bash
git clone https://github.com/Teraskull/magpi-downloader

cd magpi-downloader

sudo chmod +x magpi-issue-downloader.sh
```

## Usage
```bash
./magpi-issue-downloader.sh
```

## Examples
To download only MagPi issues, set the `HACKSPACE_FIRST` and `HACKSPACE_LATEST` variables to `0`:
```bash
MAGPI_FIRST=1
HACKSPACE_FIRST=0
MAGPI_LATEST=113
HACKSPACE_LATEST=0
```

To download a specific MagPi issue, set both `MAGPI_FIRST` and `MAGPI_LATEST` to the respective issue number.

> All issues will be downloaded under the `issues/magpi` and `issues/hackspace` directories.
>
> All download URLs are saved in `issues/magpi/issues.txt` and `issues/hackspace/issues.txt`.

## License

Distributed under the MIT License. See [`LICENSE`](/LICENSE) for more information.