get OneDrive direct download link by just change the domain to
Branch: master
Clone or download
Latest commit 7be56d1 Jun 8, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial commit Jun 4, 2018
LICENSE Create LICENSE Jun 4, 2018 typo Jun 8, 2018 reduce logo size to 32x32 Jun 5, 2018
requirements.txt 1. fix /w/s /u/s /t/s share url bug. Jun 5, 2018
uwsgi.ini add threads Jun 5, 2018

The OneDrive Direct Download Link Helper

Get OneDrive direct download link by just changing the "" to ""
通过简单地改域名, 来获取OneDrive的直接下载链接。


  1. Get the share link, like this:!Aiw77soXua44hb4CEu6eSveUl0xUoA
  2. Change the domain to, I mean, just flip the m to w
    which becomes!Aiw77soXua44hb4CEu6eSveUl0xUoA
  3. This IS the direct link, you can paste it to browser and see.

btw, you can add ?txt at the end of url, to display text link, instead of a 301 redirect.

How it works!Aiw11soXua11pxigLnclZsYIU_Rx
-- HTTP -->!...&ithint=file%1ctxt
-- HTTP -->


  • Play OneDrive video directly in local player (eg:PotPlayer), most player support "play from url"
  • dispaly as image <img src='!Aiw77soXua44hb4CEu6eSveUl0xUoA'>

Deploy Your Self

  1. Python 3.5+ is required.
  2. git clone
  3. cd OneDrive-Direct-Link
  4. pip3 install -r requirements.txt
  5. python3
  6. Now you got this services in your localhost.

warning: this code is simple and not fool-proof.