mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 13:19:58 -05:00
Creating RecursiveHTMLDownloader which recursively searches for files in the provided URLs.
This commit is contained in:
parent
1b4d4d7ad5
commit
6f43f1daa0
12 changed files with 377 additions and 15 deletions
|
|
@ -439,7 +439,18 @@ export async function getArchive(archiveId) {
|
|||
}
|
||||
}
|
||||
|
||||
export async function postDownload(urls, downloader, frequency, sub_downloader, excludedURLs, destination, tagNames) {
|
||||
export async function postDownload(
|
||||
urls,
|
||||
downloader,
|
||||
frequency,
|
||||
sub_downloader,
|
||||
excludedURLs,
|
||||
destination,
|
||||
tagNames,
|
||||
depth,
|
||||
suffix,
|
||||
max_pages,
|
||||
) {
|
||||
if (!downloader) {
|
||||
toast({
|
||||
type: 'error',
|
||||
|
|
@ -456,6 +467,9 @@ export async function postDownload(urls, downloader, frequency, sub_downloader,
|
|||
frequency: frequency || null,
|
||||
excluded_urls: excludedURLs,
|
||||
destination: destination || null,
|
||||
depth: depth || null,
|
||||
suffix: suffix || null,
|
||||
max_pages: max_pages || null,
|
||||
};
|
||||
if (sub_downloader) {
|
||||
body['sub_downloader'] = sub_downloader;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue