English
Search
Main Menu
Files

WMDB-Downloader for Linux (sh)

File #1017, Viewed 1934 Time(s)

Basic Information
File rate
Not rated yet
Name: WMDB-Downloader for Linux (sh)
Type: Program
Submitted by:
Germany aik
Original author(s):
Germany aik

Click to download: (Downloaded 831 time(s))
wmdb.sh

Downloaded 831 time(s).

Time: August 30, 2016, 11:21 PM
Description:
Quick&Dirty Linux WMDB-Downloader.
Usage:
sh wmdb.sh <WMDB-Number> [type]
i.e.
sh wmdb.sh 267 shopper

Needs wget and pup (for parsing html) https://github.com/ericchiang/pup.
Default folder for maps is $HOME/.wine/drive_c/WA/User/SavedLevels (as that is where my maps reside...).
Maps are placed in a subfolder, if not given 2nd parameter for it, it defaults to "mix".

Use at own risk, feel free to change. And keep in mind that i hacked this mainly for myself because i switched to manual hosting (and wine) and don't whant to miss !map XYZ too bad ^^ - just thought it could be handy for others...

If you write/find a better WMDB-fetcher for Linux - let me know  :)

0 Members and 1 Guest are viewing this topic.

CyberShadow

FYI, WMDB sends an "Author_-_Name.png" filename in Content-Disposition, which you can use with e.g. wget --content-disposition.

aik

Quote from: CyberShadow on November 23, 2016, 12:00 AM
FYI, WMDB sends an "Author_-_Name.png" filename in Content-Disposition, which you can use with e.g. wget --content-disposition.

Ugh - I must have been crazy even upload this crappy stuff.
Better, I'll make it better XD

And thanks for the info. =)
Does HostingBuddy use Website parsing, too - or does WMDB provide some kind of HosingBuddyDownloadService?
<dream>
One day CyberShadow will push worms source code to github by accident...
</dream>