Skip to content

Commit

Permalink
Fix Youtube Premium check
Browse files Browse the repository at this point in the history
  • Loading branch information
lmc999 authored Dec 15, 2023
1 parent 3792d00 commit 30e76fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ function MediaUnlockTest_YouTube_Premium() {
fi
local isNotAvailable=$(echo $tmpresult | grep 'Premium is not available in your country')
local region=$(echo $tmpresult | grep "countryCode" | sed 's/.*"countryCode"//' | cut -f2 -d'"')
local isAvailable=$(echo $tmpresult | grep '/month')
local isAvailable=$(echo $tmpresult | grep 'ad-free')

if [ -n "$isNotAvailable" ]; then
echo -n -e "\r YouTube Premium:\t\t\t${Font_Red}No${Font_Suffix} \n"
Expand Down

0 comments on commit 30e76fa

Please sign in to comment.