This project contains a Python script that downloads an Excel file from a KoBo project, extracts URLs of images from specific columns, and downloads those images into folders named after the Excel tabs. The images are then zipped into respective folders.
- Python 3.x
- Requests library
- Openpyxl library
To install the required libraries, run:
pip install requests openpyxl
Create a config.json file in the project root directory with the following content:
{
"api_key": "<YOUR_API_KEY>",
"project": "LINK TO YOUR KOBO DOWNLOAD SETTING PROJECT"
}
Replace the above with your actual details.
You can run the script using the command:
python main.py
- The script downloads an Excel file from KoBo.
- It reads the Excel file, looking for columns with "_URL" in the title, and extracts the URLs.
- The images from the URLs are downloaded into folders named after the Excel tabs.
- The folders with images are zipped.
Feel free to fork the repository and submit pull requests for any improvements or feature additions.
This project is licensed under the MIT License. See the LICENSE file for details.