FBar000 / FBar000/ArchivistBot

[`bots` package] Replace `selenium` implementation with CollectiveAccess bulk-upload feature

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Problem

The `bots` package uses `selenium` web-browser automation to upload records onto CollectiveAccess. This is
1. Slow
2. "Noisy" - The "recent changes" widget on the CollectiveAccess dashboard reflects each modification made to an item
3. Clumsy - To map new fields from your locally-generated entries to the ones on CollectiveAccess, you must explicitly program the bot to click onto the page where that is inputed and specify the XML path.

## Solution

The developers at CollectiveAccess said in an email Dec 2023 that they were working on a bulk-upload feature where users can specify items on a spreadsheet. Once this is available, it would be a preferable alternative to the current method of uploading information.

## Recommendations

1. Modify the `utils.py` in the `archiveBot` package to translate the API's JSON output to a row on a given CSV file
2. Modify the `bots` package to upload that CSV file as instructed by CollectiveAccess

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.