winfreed.py: fix the "HTTP Error 403: Forbidden" error on some servers
authorAntonio Ospite <ao2@ao2.it>
Mon, 29 May 2017 14:00:00 +0000 (16:00 +0200)
committerAntonio Ospite <ao2@ao2.it>
Mon, 29 May 2017 14:31:07 +0000 (16:31 +0200)
commit2be47d5fb3d25febff5e6b95e47753ff8eab7a4b
treed205346bbef4b0a4b01241dade9a4249fb8afd88
parent81ffa4db01ae7dc3d57adf72776c89ba1ed1f6ab
winfreed.py: fix the "HTTP Error 403: Forbidden" error on some servers

Some servers require the User-Agent header.

This fixes this error:

  Downloading from https://www.sumatrapdfreader.org/dl/SumatraPDF-3.1.2-64-install.exe failed. HTTP Error 403: Forbidden
winfreed.py