Skip to content

Commit

Permalink
sandboxgamemaker.py: Initial version
Browse files Browse the repository at this point in the history
The download links of Platinum Arts Sandbox Free Game Maker
just contain an incrementing number which has nothing to do
with the actual version. This upstream watchers tries to find
the version in the description of the download on the site.
The generated link will 404 of course but will also give you
the URL to the download site.
  • Loading branch information
Christoph Korn committed Nov 18, 2012
1 parent 5a5a756 commit 4751919
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sandboxgamemaker.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/python
import urllib2
import re
h=urllib2.urlopen("http://www.sandboxgamemaker.com/free-game-maker-downloads").read()
f=re.compile("Platinum Arts Sandbox Free 3D Game Maker (?P<version>[\d\.]+)")
m=f.finditer(h)
for x in m:
v = x.group("version")
print "<a href='http://www.sandboxgamemaker.com/%s'>%s</a>"%(v,v)
1 change: 1 addition & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ python nikki.py > nikki.html 2> nikki.log
python legends.py > legends.html 2> legends.log
python the-powder-toy.py > the-powder-toy.html 2> the-powder-toy.log
python tide.py > tide.html 2> tide.log
python sandboxgamemaker.py > sandboxgamemaker.html 2> sandboxgamemaker.log

0 comments on commit 4751919

Please sign in to comment.