Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.misc > #77313

Re: Another Mint User

Message-ID <6912ba02@news.ausics.net> (permalink)
From Computer Nerd Kev <not@telling.you.invalid>
Subject Re: Another Mint User
Newsgroups comp.os.linux.misc
References <mndlpbFbepuU8@mid.individual.net> <mnenl9FhkbcU1@mid.individual.net> <6912583a@news.ausics.net> <10etodc$am19$1@dont-email.me> <10ett30$bql1$2@dont-email.me>
Date 2025-11-11 14:22 +1000
Organization Ausics - https://newsgroups.ausics.net

Show all headers | View raw


Nuno Silva <nunojsilva@invalid.invalid> wrote:
> You mean something like
> 
>     https://github.com/user/project/releases/expanded_assets/release-name
> 
> to get a HTML list of downloadable files for a given release.
> 
> Although I'm not sure the rule to form "release-name" is entirely clear;
> hopefully that part can be extracted from entries in the releases list?
> 
> Example:
> 
> For [1] there is a list of releases at [2]. Topmost version has assets
> expanded and inlined, but only that one. Let's say you want 22.00. Its
> heading links to [3], so the name to use is probably "22.00". Thus the
> assets would be listed at:
> 
>     https://github.com/ip7z/7zip/releases/expanded_assets/22.00

Neat, I didn't know about that. Thanks!

I did know about the REST API where you have to use release ID
numbers that aren't in the page but can be found with another
API call:
wget -q -O - 'https://api.github.com/repos/ip7z/7zip/releases' | less
 22.00 = 134213671
wget -q -O - 'https://api.github.com/repos/ip7z/7zip/releases/134213671' | grep browser_download_url
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-arm.exe"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-arm64.exe"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-extra.7z"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-linux-arm.tar.xz"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-linux-arm64.tar.xz"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-linux-x64.tar.xz"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-linux-x86.tar.xz"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-src.7z"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-src.tar.xz"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-x64.exe"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200-x64.msi"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200.exe"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/7z2200.msi"
      "browser_download_url": "https://github.com/ip7z/7zip/releases/download/22.00/lzma2200.7z"

Your way using "expanded_assets" is much easier!

-- 
__          __
#_ < |\| |< _#

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Find similar


Thread

Another Mint User rbowman <bowman@montana.com> - 2025-11-10 08:24 +0000
  Re: Another Mint User Andy Burns <usenet@andyburns.uk> - 2025-11-10 18:02 +0000
    Re: Another Mint User rbowman <bowman@montana.com> - 2025-11-10 20:23 +0000
    Re: Another Mint User not@telling.you.invalid (Computer Nerd Kev) - 2025-11-11 07:25 +1000
      Re: Another Mint User Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-10 22:19 +0000
        Re: Another Mint User Nuno Silva <nunojsilva@invalid.invalid> - 2025-11-10 23:39 +0000
          Re: Another Mint User Computer Nerd Kev <not@telling.you.invalid> - 2025-11-11 14:22 +1000

csiph-web