internetarchive-ts - v0.1.0
    Preparing search index...

    Type Alias IaFileDownloadParamsBeta

    type IaFileDownloadParams = {
        checksum?: boolean;
        chunkSize?: number;
        ignoreErrors?: boolean;
        ignoreExisting?: boolean;
        noChangeTimestamp?: boolean;
        ors?: boolean;
        params?: HttpParams;
        retries?: number;
        returnResponses?: boolean;
        target?: Writable | string;
        timeout?: number;
    }
    Index

    Properties

    checksum?: boolean

    Skip downloading file based on checksum.

    chunkSize?: number
    ignoreErrors?: boolean

    Don't fail if a single file fails to download, continue to download other files.

    ignoreExisting?: boolean

    Overwrite local files if they already exist.

    noChangeTimestamp?: boolean

    If True, leave the time stamp as the current time instead of changing it to that given in the original archive.

    ors?: boolean

    (optional) Append a newline or $ORS to the end of file. This is mainly intended to be used internally with stdout.

    params?: HttpParams

    URL parameters to send with download request (e.g. cnt=0).

    retries?: number

    The number of times to retry on failed requests.

    returnResponses?: boolean

    Rather than downloading files to disk, return a list of response objects.

    target?: Writable | string

    Write data to the given file-like object (e.g. sys.stdout).

    timeout?: number