Skip to content

Unable to parse search output for missing formattedPrice #1108

@martimlobao

Description

@martimlobao

Configuration

❯ mas config       
mas ▁▁▁▁ 4.1.0
arch ▁▁▁ arm64
from ▁▁▁ homebrew/core/mas
origin ▁ https://github.com/mas-cli/mas.git
rev ▁▁▁▁ 4fa8f4c1f5f2ae7e9a554451621d054bba0c7057
swift ▁▁ 6.2.1 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
driver ▁ 1.127.14.1
region ▁ US
macos ▁▁ 26.1 (25B78)
mac ▁▁▁▁ MacBookPro18,3
cpu ▁▁▁▁ Apple M1 Pro

Bug description

Searching in mas for "linear" returns a search result that it is unable to parse:

❯ mas search linear
Error: Failed to parse response from https://itunes.apple.com/search?media=software&entity=desktopSoftware&country=US&term=linear as JSON:



{
 "resultCount":32,
 "results": [
{"isGameCenterEnabled":false, 
...

Steps to reproduce

Run mas search linear

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions