Open smutt opened 1 year ago
We don't want to grab stuff like this. https://www.icann.org/board-advice-status-current.pdf
We want the actual/redirected filename, not the displayed name.
This goes for .xlsx and .pdf files the same. We need to look at Content-Disposition header to find actual filename.
https://stackoverflow.com/questions/6881034/curl-to-grab-remote-filename-after-following-location
We don't want to grab stuff like this. https://www.icann.org/board-advice-status-current.pdf
We want the actual/redirected filename, not the displayed name.
This goes for .xlsx and .pdf files the same. We need to look at Content-Disposition header to find actual filename.
https://stackoverflow.com/questions/6881034/curl-to-grab-remote-filename-after-following-location