`copyurl` filename for Google Drive

I have around a hundred PDFs linked separately. I tried downloading them with rclone copyurl, but they don't get filenames. --auto-file-namegives either view or edit, and with --header-filename: filename not found in the Content-Disposition header.

When clicking download, in FF a new tab is opened with the filename. This is a feature request. Alternatives considered: shared-with-me with a throwaway account.

Try rclone copyurl -vv --dump headers and see if the filename appears in any headers.

I suspect that the web browser downloaded uses JavaScript to get the file name.