-
-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: CachyOS downloads #1483
fix: CachyOS downloads #1483
Conversation
only two versions now - updates to new cdn setup current fails on on kde although muddles through on on transition reroutes on other two, for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggested tweaks and please removed unused empty local $ISO and operations thereon.
quickget
Outdated
echo "${URL}/${REL}/${ISO} ${HASH}" | ||
local URL="" | ||
local ISO="" | ||
URL="$(web_pipe "https://cachyos.org/download/" | tr '&' '\n' | grep "ISO/${EDITION}" | cut -d';' -f2)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
URL="$(web_pipe "https://cachyos.org/download/" | tr '&' '\n' | grep "ISO/${EDITION}" | cut -d';' -f2)" | |
URL="$(web_pipe "https://cachyos.org/download/" | tr '&' '\n' | grep -o -E "https://[[:alnum:]]+\.cachyos\.org/ISO/${EDITION}/[[:digit:]]+/.*\.iso" )" |
quickget
Outdated
local URL="" | ||
local ISO="" | ||
URL="$(web_pipe "https://cachyos.org/download/" | tr '&' '\n' | grep "ISO/${EDITION}" | cut -d';' -f2)" | ||
ISO="$(basename "${ISO}")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
${ISO} at this point == "" and is local and not used anymore ...
legacy from previous that somehow got left in ....
There are only two links visible on a web scrape. The others with similar names are embedded in .js menus. Add a filter for these other similarities in case, in the future, the other links become visible. Other filters like ensuring there are digits in the file name could cause future breakage if the format or format sequence became changed.
Updates to new cdn
fixes empty elements in urls eg. https://mirror.cachyos.org/ISO/kde///cachyos-kde-linux-.iso
Checklist: