import urllib import requests import os url = \'https://api.spiget.org/v2/resources/9089/versions/367353/download\' opener = urllib.request.build_opener() opener.add