Allowing user to configure collection download destination directories, as well as directories in the file structure. This will allow sorting archives by destination year, for example.

This commit is contained in:
Roland 2025-12-22 17:56:35 -07:00
parent 3f4d5798e2
commit 1ebcae0965
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
21 changed files with 780 additions and 160 deletions

View file

@ -429,6 +429,19 @@ export async function updateVideoDownloaderConfig(config) {
return await updateConfig('videos_downloader.yaml', config);
}
export async function fetchArchiveDownloaderConfig() {
return await getConfig('archives_downloader.yaml');
}
export async function updateArchiveDownloaderConfig(config) {
return await updateConfig('archives_downloader.yaml', config);
}
export async function postArchiveFileFormat(archive_file_format) {
const body = {archive_file_format};
return await apiPost(`${ARCHIVES_API}/file_format`, body);
}
export async function fetchBrowserProfiles() {
const response = await apiGet(`${API_URI}/videos/browser-profiles`);
if (response.status === 200) {