Module downloader

Module downloader 

Source

Functionsยง

download_files
Downloads ZIP files to the appropriate directory based on procurement type.
fetch_all_links
Fetches all available ZIP file links from both procurement data sources.
fetch_zip
Fetches ZIP file links from a single procurement data page.
filter_periods_by_range
Filters links by period range, validating that specified periods exist.
parse_zip_links
Parses HTML content and extracts ZIP file links, extracting period identifiers from filenames.
validate_period_format
Validates that a period string matches the expected format (YYYY or YYYYMM).