Skip to content

confluence.download_attachments_from_page only fetches 50 files #1590

@moseisleydk

Description

@moseisleydk

Using this;

`attachments = confluence.download_attachments_from_page(confluence_page_id, path=directory)

    with os.scandir(directory) as entries:
        for entry in entries:
            if entry.is_file():
                attach_file_to_page(parent_url + "/spaces/" + slug + "/pages/WebHome",entry.path,entry.name)`

and

attachments % ls -l 57245722 | wc -l

gives 50

As the download_attachments_from_page dont have pagination that is a problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions