title: How to download a video from website given direct URL
body: <p>I am currently in the process of developing a Java program that downloads/streams some anime videos:</p>
  
  <p>I want to download the video from: </p>
  
  <pre><code>https://animetwist.net/a/swordartonline/25
  </code></pre>
  
  <p>I was able to find the direct link to the video:</p>
  
  <pre><code>https://animetwist.net/mount/swordartonline/swordartonline25.mp4
  </code></pre>
  
  <p>but I have no idea how I could download or stream that video from this java application I'm creating. I have no idea where to start and all the questions I find are related to YouTube videos and not other videos.</p>
  
  <p>What I know/have tried:</p>
  
  <pre><code>VGet - Only for Youtube/Vimeo only...
  Xuggler - I tried but don't understand how I could use it to download videos
  </code></pre>
  
  <p>Any help or a point in the correct direction would be much helpful. I don't exactly understand how it would work. The perfect solution would be something in pure java, but using addons are fine as well. </p>
  
  <p>Sorry if my question is unclear, post a comment below and I'll try to answer it as best I can, thanks for your time. </p>