Resource icon

[Reusable] srb2dl - SRB2 Content Downloader CLI

This thread contains content that may be reused, modified, or ported by anyone.

Bijman

Ye ol' bugger
Bijman submitted a new resource:

srb2dl - SRB2 Content Downloader - Shell script that downloads addons/software/builds for SRB2 and SRB2Kart.

This script extracts links and information from mb.srb2.org, GitHub and GitLab and lists them in a simple format including title, author, upload/update date and category. This allows more straightforward and centralized approach to downloading everything related to SRB2 and SRB2Kart.

View attachment 42451

Features:
  • Browsing SRB2/SRB2Kart content by categories,
  • Downloading multiple resources at the same time,
  • Searching content by keyword or user...

Read more about this resource...
 

SteelT

Developer
Sonic Team Junior
Kart Krew™️
I think the script is interpreting the "Updated" field incorrectly, it seems to be pulling the info from the "First Released" field of a addon. https://mb.srb2.org/addons/the-coffee-cup.2678/
An example of a addon with such case.
The Coffee Cup! - User: mocha - Updated: Monday at 5:27 AM - Category: Kart Maps
 
Last edited:

Bijman

Ye ol' bugger
Bijman updated srb2dl - SRB2 Content Downloader with a new update entry:

Update 2021-08-11

This update provides new feature to this script. Now you can download content that is archived in mb.srb2.org, which is useful for older versions of SRB2 and SRB2Kart. To access obsolete mods, you need to type srb2dl --old.

DEMO:
128992658-eab52b02-78dc-45e6-9715-5759904c7de1.gif



Other updates includes:
- Added support for MacOS,
- Added support for SOC files,
- Default installation to...

Read the rest of this update entry...
 

Bijman

Ye ol' bugger
Bijman updated srb2dl - SRB2 Content Downloader with a new update entry:

Update 2021-10-16

  • Fixing issue of Curl (since version 7.79) canceling downloading some files and leaving warning message,
  • Added SRB2 archived versions (including the original SRB) and SRB2 Uncapped Plus to SRB2 Build category,
  • Fixing links to SRB2 Android Port and SRB2Kart Moe Mansion,
  • Fixing issue with not properly displaying page numbers, when selecting files and then returning to the list of addons,
  • Removing some unnecessary lines of code and other small fixes.

Read the rest of this update entry...
 

Bijman

Ye ol' bugger
Bijman updated srb2dl - SRB2 Content Downloader CLI with a new update entry:

Update 2022-06-17

  • Added function to download addons to selected subdirectories within SRB2/SRB2Kart configuration directory. To activate it, you need to add export SRB2DLAUTODIR=1 in shell configuration file. Keep in mind that, parsing download path argument to script is disabled, when this variable is set.
    174396281-11dd744b-95d9-4479-b8f7-b2d8282c9963.gif
  • Updated link to SRB2 Persona build,
  • Switched positions of options,
  • Added download paths to script's database,
  • Other fixes.

Read the rest of this update entry...
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Top