Get OneDrive direct download link by just changing the "1drv.ms" to "1drv.ws"
btw, you can add ?txt
at the end of url, to display text link, instead of a 301 redirect.
eg: https://1drv.ws/t/s!Aiw77soXua44hb4CEu6eSveUl0xUoA?txt
https://1drv.ms/t/s!Aiw11soXua11pxigLnclZsYIU_Rx -- HTTP --> https://onedrive.live.com/redir?resid=...&authkey=!...&ithint=file%1ctxt --MODIFY--> https://onedrive.live.com/download?resid=...!1111&authkey=!...&ithint=file%1ctxt -- HTTP --> https://jlohlg.by.files.1drv.com/some-long-long-link/file.txt?download&psid=1
<img src='https://1drv.ws/u/s!Aiw77soXua44hb4CEu6eSveUl0xUoA'>
More Info: GitHub OneDrive-Direct-Link