Advertisement
j311yf1sh

Automatic spreadsheet update for stedes spreadsheet.

Jul 14th, 2012
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.08 KB | None | 0 0
  1. import urllib.request
  2.  
  3. '''
  4. This is a modification of a modification of (yes double mod) "The undermine journal" auto updater as created originally by Reverb on the consortium
  5. forums.
  6.  
  7. This version is modified by j311yf1sh on the consortium forums.
  8.  
  9. USAGE:
  10.  
  11. Replace url with your Wowuction link(http://imgur.com/2EHCk), right click and copy url, then paste in between the double quotes
  12.  
  13. Change the location of filename to a more suitable one for you. everyone will be a different file structure.
  14.  
  15.  
  16. For more information please refer to http://stormspire.net/professions/3202-latest-shuffling-spreadsheet-masses.html
  17. '''
  18.  
  19. #replace this with your url inside of Wowuction Read above for more info.
  20. url = "Your Link here"
  21.  
  22. #the location and the name you wish to use. Make sure to use double "slash" to seperate paths.
  23. #Make sure to put .csv and what ever the name you want to call it. (ServernameSide)
  24.  
  25. filename = "C:\\Users\\Home\\Desktop\\Spreadsheets\\Stedes\\YourFileName.csv"
  26.  
  27.  
  28. #Code crap that downloads it.
  29. print("Downloading...")
  30. urllib.request.urlretrieve(url,filename)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement