For some reason after the file downloads, its doesn't unzip to the directory. I can manually unzip the file so it was downloaded correctly. Any ideas? Thanks
import urllib.request
import zipfile
#replace the $ with your account specific download URL (don't share this account link with anyone
#the URL should look something like http://theunderminejournal.com/TheUn...K3B-Maelstrom
url = "http://theunderminejournal.com/TheUndermineJournal.zip?key=aserimgvasdg&realms=A-Greymane"
#replace the $ with the directory & filename you wish to download the realm info to (filename should end with .zip)
#the filename should look something like C:\documents\TheUndermineJournal.zip
#note: all \ in the filename must be followed by another \
#so from our previous example C:\documents\TheUndermineJournal.zip
#becomes C:\\documents\\TheUndermineJournal.zip
filename = "C:\\Users\\Brandon\\Desktop\\TheUndermineJournal. zip"
#replace the $ with your World of Warcraft Addon Directory with each \ followed by another \ when replacing $ as before
#the addon directory should look something like C:\Program Files\World of Warcraft\Interface\Addons
destinationPath = "C:\\WoW2\\World of Warcraft\\Interface\\AddOns"
urllib.request.urlretrieve(url,filename)
sourceZip = zipfile.ZipFile(filename, 'r')
for name in sourceZip.namelist():
sourceZip.extract(name, destinationPath)
sourceZip.close()

