Skip to content

Comments

Fix downloadURL empty for sketchupviewer.sh #1779#1939

Closed
ChandanChainani wants to merge 1 commit intoInstallomator:mainfrom
ChandanChainani:fix/1779/sketchupviewer
Closed

Fix downloadURL empty for sketchupviewer.sh #1779#1939
ChandanChainani wants to merge 1 commit intoInstallomator:mainfrom
ChandanChainani:fix/1779/sketchupviewer

Conversation

@ChandanChainani
Copy link

Closes: #1779

@ChandanChainani
Copy link
Author

Current output for sketchup download url

~ curl -fs https://www.sketchup.com/sketchup/SketchUpViewer-en-dmg
Redirecting to https://download.sketchup.com/SketchUpViewer-2021-1-331-116.dmg

downloadURL command output without changes

~ echo $(curl -fs https://www.sketchup.com/sketchup/SketchUpViewer-en-dmg -w stdout | grep "<a href=" | sed 's/.*href="//' | sed 's/".*//')

After changes:

~ echo $(curl -fs https://www.sketchup.com/sketchup/SketchUpViewer-en-dmg | awk -F' ' '{ print $3 }')
https://download.sketchup.com/SketchUpViewer-2021-1-331-116.dmg

@acodega
Copy link
Collaborator

acodega commented Jan 16, 2025

Existing PR #1698 seems more accurate

@acodega acodega closed this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sketchup viewer: error -ERROR : sketchupviewer : need to provide 'downloadURL'

2 participants