curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Download files from gnome-look.org using curl

From: Ahmad Ismail via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 24 Apr 2023 14:08:21 +0600

I can download extensions from https://extensions.gnome.org/ or
https://cinnamon-spices.linuxmint.com/ using curl
<https://unix.stackexchange.com/a/707840/206574>. However, I am unable to
do it from https://www.gnome-look.org

To be specific, I am trying to download the zip files from
https://www.gnome-look.org/p/1309239 and
https://www.gnome-look.org/p/1308808

I found that the download links look like
https://files03.pling.com/api/files/download/j/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTY3OTUwODg0MywidSI6bnVsbCwibHQiOiJkb3dubG9hZCIsInMiOiI1YWI5OWZkYjg3ZDMxYTlmYzEwZTdjNGE5YTQ0YTE2ZTdmNDI5ZDVhOTFkYzI3MGVhNzZhYTE1OTg2ZTQ1YmIwYjNjZDM3NTYwMjU4ZDJkMzQ1YWY2ZDNiMWFmZTcxNDA4NTU2OTc4Zjg3ZWFkN2EyMzgyOTJjNjM0YmEyMDllMCIsInQiOjE2ODIzMjI2ODUsInN0ZnAiOm51bGwsInN0aXAiOm51bGx9.wHIMzT4EdVvErh625hc2cOlVfge51l0_lcC067fEqWM/Solarized-Dark-Cyan-3.0.3.tar

The issue is the links can not be found in the page source. They are hidden
behind tabs (triggered via js).

I am not understanding how to get the links of these files via cli.

Please help.


*Thanks and Best Regards,Ahmad Ismail*


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-04-24