Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.apps > #46763

Shortcuts and JSON help

From Chris Schram <chrispam1@me.com>
Newsgroups comp.sys.mac.apps
Subject Shortcuts and JSON help
Date 2023-10-08 20:16 +0000
Organization Where the hell is Langlois, Oregon?
Message-ID <ufv2m4$h5d$1@solani.org> (permalink)

Show all headers | View raw


A few things first:
I live in an area where "high=speed Internet" means early 1950s copper
wire. Fortunately our local public library has the good stuff.

I recently updated my iMac to macOS Sonoma, and have been trying to play
with the Aerial screen savers. This is mostly a fool's errand, as all my
available bandwidth gets sucked up, and I can't do anything else online.

I have a MacBook Air that's stuck at  macOS Monterey that I can take to
the aforementioned library. That along with the contents of the file...
</Library/Application Support/com.apple.idleassetsd/Customer/entries.json>
...gives me everything I need to download ALL the videos

All that said, I want to write a Shortcuts script that can parse each
"Dictionary" from the "assets" array, and extract "url-4_240FPS" and
"id" so  I can build a shell script I can take to the library on my old
MacBook to download ALL the videos.

I have parsed simple JSON files before in Shortcuts, but it was some
time ago, and whatever I learned has escaped my elderly brain.

Can someone help me out here, or point me to a site where the answer
lies? Thanks.

-- 
chrispam1@me.com is a filtered spam magnet. Email replies may be lost.
You're better off replying to this newsgroup.

Back to comp.sys.mac.apps | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Shortcuts and JSON help Chris Schram <chrispam1@me.com> - 2023-10-08 20:16 +0000
  Re: Shortcuts and JSON help Jolly Roger <jollyroger@pobox.com> - 2023-10-08 20:38 +0000
    Re: Shortcuts and JSON help Chris Schram <chrispam1@me.com> - 2023-10-09 09:12 +0000

csiph-web