Skip to content

Instantly share code, notes, and snippets.

@hlorand
Last active August 12, 2024 11:03
Show Gist options
  • Save hlorand/60307a80c4c82062b0d5eb9af959aada to your computer and use it in GitHub Desktop.
Save hlorand/60307a80c4c82062b0d5eb9af959aada to your computer and use it in GitHub Desktop.
CapCut offline installers download links
#!/bin/bash
# Searches for CapCut video editor (https://capcut.com) offline installer files.
# If links not available, use https://web.archive.org to download executable.
for va in {4..5}; do
for vb in {1..20}; do
for vc in {0..20}; do
for build in {1647..3000}; do
for extension in dmg exe; do
url=$(echo "https://lf16-capcut.faceulv.com/obj/capcutpc-packages-us/packages/CapCut_"$va"_"$vb"_"$vc"_"$build"_capcutpc_0_creatortool.$extension")
echo $url
curl --head $url -s | grep "HTTP/2 200" \
&& echo -n "$url;" >> capcutlinks.$extension.txt \
&& echo $(curl --head -s $url | grep "last-modified" | sed 's/last-modified: //g') >> capcutlinks.$extension.txt
done
done
done
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment