when dealing with loads of URLs for PDFs, but the file names are in headers and possibly colliding, how to preserve the metadata and download them all
Find a file
Vincent Batts 4400ea5bca
main.go: iterated on one fix and it's literally off to the races
I'm honestly shocked that it even compiled first time, and remotely did
as expected, much less _exactly_ as expected.

Prompt to Claude.ai using 3.7 Sonnet:
```
this is awesome. Though on line 303, the os.Rename fails because /tmp is
on a different device partition than the downloads/ directory. This
should instead Create and write a new file and remove the old one.
```

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2025-04-03 22:04:35 -04:00
.gitignore Initial commit 2025-04-03 15:19:48 -04:00
go.mod Initial commit 2025-04-03 15:19:48 -04:00
LICENSE Initial commit 2025-04-03 15:19:48 -04:00
main.go main.go: iterated on one fix and it's literally off to the races 2025-04-03 22:04:35 -04:00
README.md Initial commit 2025-04-03 15:19:48 -04:00

fetch-content

when dealing with loads of URLs for PDFs, but the file names are in headers and possibly colliding, how to preserve the metadata and download them all