title: Downloading binary files from github using Wget in python
body: <p>I am creating a program that grabs files from a GitHub repository, but <code>raw.githubusercontent.com</code> doesn’t work for binary files. If .ico files are not binary, then tell me how to download those.</p>
  <p>I am using <code>wget.download()</code>, like this:</p>
  <pre><code>import wget
  url = “ https://raw.githubusercontent.com/user/repository/branch/file”
  wget.download(url)
  </code></pre>
  <p>Any suggestions?</p>