Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Pages: [1]   Go Down

Author Topic: Is "download_by_random" gone for good?  (Read 7269 times)

0 Members and 1 Guest are viewing this topic.

Biggles

  • New User
  • Offline Offline
  • Posts: 1
    • View Profile
Is "download_by_random" gone for good?
« on: April 03, 2009, 03:04:46 »

I used to use /index.php?request=download_by_random in a clever little python script to download a batch of 30 random mods (which usually keeps me entertained for a few of weeks).  I see that request method  no longer works. 

Is it gone for good? and if so would getting an xml-api key be my best alternative? 

(BTW the script was "clever" in that it would check the filename in the HTTP header against my list of already downloaded mods, before doing the download).
Logged

m0d

  • Creator of Meow Meow Meow Kitty Song
  • Global Moderator
  • Top Poster
  • ****
  • Offline Offline
  • Posts: 1867
  • Original Site Admin/Designer/Coder
    • View Profile
    • Science & Art - Eindhoven.space - RedHeat Music & More
Re: Is "download_by_random" gone for good?
« Reply #1 on: April 03, 2009, 09:00:04 »

Not quite sure what the problem is. It's still there, and working...

 Having an API key is probably better if you want additional metadata and/or more options and is no trouble at all to arrange. But to go on as you were is also fine.

By the way, any chance you could post up your python script? I'm useless at python but I did manage to make a little one some time ago to use on Xbox Media Center (XBMC) to pull modules via the API.
« Last Edit: April 03, 2009, 09:03:53 by mZerod »
Logged
👨‍💻 Creator, Musician & HF Packet Radio Network Core
🎧 Discover great music via other member's special picks in the MFG
☕️ Get m0d a coffee via Ko-Fi.com
💬 IRC irc.rizon.net #modarchive
💬 Modarchive Discord
Pages: [1]   Go Up