Think about using undouble for finding dups. https://erdogant.github.io/undouble/pages/html/core_functions.html#grouping-images
Make a copy of the sampleCredentials.json file as .secrets/credentials.json and specify the paperless user name and password there.