mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 17:36:18 -05:00
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:
parent
3f4d5798e2
commit
1ebcae0965
21 changed files with 780 additions and 160 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue