Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.06 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.06 KB

aula-dk-picture-download

A python script to download pictures with tags from aula.dk

Description

This script downloads images in albums, posts and messages from aula.dk.

For it to work, you must first log into aula.dk with your browser.

options:

Accepted parameters:

  • --cutoffDate CUTOFFDATE Only download images that have been posted on or after this date (format: "YYYY-MM-DD")
  • --tags TAGS [TAGS ...] Only download pictures having at least one of these tags
  • --outputFolder OUTPUTFOLDER Download images in this folder

The script saves images in folders, grouping them by album/post/message. The folders names follow the template "Date Title", where the date is in ISO format (yyyymmdd) and the title is the album/post/message title.

Tested to work on Windows 10, after logging into aula.dk with Firefox.

This script was initially inspired by this blog post: https://helmstedt.dk/2021/05/aulas-api-en-opdatering/

Usage Example

python .\aula_download_albums_with_tags.py --cutoffDate "2023-02-19" --tags "Tag1" "Tag2" --outputFolder "output"