title: How to generate direct download link for google drive shared link by file id
body: <p>I want to generate google drive direct download link without opening web page.</p>
  
  <p>I have found 1 site which do same thing but I did not find how he is doing.</p>
  
  <p>below is the site which generates direct download link without opening google drive page.</p>
  
  <p><a href="https://links-safety.com/download.php?id=0B475ByfcR9n4a1JMVEZxQno2Tmc" rel="nofollow noreferrer">https://links-safety.com/download.php?id=0B475ByfcR9n4a1JMVEZxQno2Tmc</a></p>
  
  <p>0B475ByfcR9n4a1JMVEZxQno2Tmc is google file and replace with any file.</p>
  
  <p>can anyone tell me how can I do that?I want to make same page like above site.</p>
  
  <p>I tried this url but its not working. instead of starting download it opens page.</p>
  
  <p><a href="https://drive.google.com/uc?id=0BwSYfbOPSw89Rno4LTZpSGF6RUE" rel="nofollow noreferrer">https://drive.google.com/uc?id=0BwSYfbOPSw89Rno4LTZpSGF6RUE</a></p>