5 ms·
If you click the green CODE button the download ZIP button is still there at the bottom of the menu.
by phillipseamore 6y ago
If you click the green CODE button the download ZIP button is still there at the bottom of the menu.
- 1vuio0pswjnm7 6y agoI use a text-only browser, no mouse, no Javascript. This explains the "disappearing link". Thank you!
- phillipseamore 6y agoWell 'links' shows me the link "Download zip". But in any case the URL structure is predictable: https://github.com/void-linux/void-packages/archive/refs/heads/master.zip https://github.com/void-linux/void-packages/archive/refs/hea... https://github.com/{USER}/{REPO}/archive/refs/heads/{BRANCH}.zip https://github.com/{USER}/{REPO}/archive/refs/heads/{BRANCH}...
- 1vuio0pswjnm7 6y agoThanks. To reproduce: OpenSSL 1.1.k printf 'GET /user/reponame HTTP/1.1\r\nHost: github.com\r\nConnection: close\r\n\r\n' \ |openssl s_client -connect 192.30.255.113:443 -ign_eof -noservername | less -p Download.ZIP The text "Download ZIP" is there but no URL like in the past. Wonderful changes Microsoft is making to the website.
- phillipseamore 6y agoThey might be returning different results depending on the user-agent because: curl "https://github.com/void-linux/void-packages https://github.com/void-linux/void-packages" | grep -i download | grep -i zip Gives a regular <a> with the href correctly set to the zip archive: <a class="..." rel="nofollow" data-hydro-click="..." data-hydro-click-hmac="..." data-ga-click="..." data-open-app="link" href="/void-linux/void-packages/archive/refs/heads/master.zip">