Skip to content

Commit

Permalink
temp2
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhawat2 committed Mar 6, 2024
1 parent 9b75f1b commit af6689b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dl_yt() {
echo "URL2: $url"
url="https://www.apkmirror.com$(req "$url" - | grep "downloadButton" | grep "forcebaseapk" | sed -n 's;.*href="\(.*key=[^"]*\)">.*;\1;p')"
echo "URL3: $url"
# url="https://www.apkmirror.com$(req "$url" - | grep "please click" | sed -n 's#.*href="\(.*key=[^"]*\)">.*#\1#;s#amp;##p')&forcebaseapk=true"
url="https://www.apkmirror.com$(req "$url" - | grep "please click" | sed 's#.*href="\(.*key=[^"]*\)">.*#\1#')"
echo "URL: $url"
req "$url" "$2"
if [ ! -f $2 ]; then echo failed && exit 1; fi
Expand All @@ -55,7 +55,7 @@ dl_ytm() {
echo "URL2: $url"
url="https://www.apkmirror.com$(req "$url" - | grep "downloadButton" | grep "forcebaseapk" | sed -n 's;.*href="\(.*key=[^"]*\)">.*;\1;p')"
echo "URL3: $url"
# url="https://www.apkmirror.com$(req "$url" - | grep "please click" | sed -n 's#.*href="\(.*key=[^"]*\)">.*#\1#;s#amp;##p')&forcebaseapk=true"
url="https://www.apkmirror.com$(req "$url" - | grep "please click" | sed 's#.*href="\(.*key=[^"]*\)">.*#\1#')"
echo "URL: $url"
req "$url" "$2"
if [ ! -f $2 ]; then echo failed && exit 1; fi
Expand Down

0 comments on commit af6689b

Please sign in to comment.