diff --git a/almost_oneliners/makemkv-key.sh b/almost_oneliners/makemkv-key.sh index 5324eca..74e067a 100755 --- a/almost_oneliners/makemkv-key.sh +++ b/almost_oneliners/makemkv-key.sh @@ -9,7 +9,7 @@ FORUM_URL="https://forum.makemkv.com/forum/viewtopic.php?f=5&t=1053" CONTENT=$(curl -sL "$FORUM_URL") # 1. Extract the key (T- followed by 66 alphanumeric characters) -KEY=$(echo "$CONTENT" | grep -oP 'T-[a-zA-Z0-9]{66}') +KEY=$(echo "$CONTENT" | grep -oP 'T-[a-zA-Z0-9_.:-]{66}') # 2. Extract the line immediately following the key # - sed 's/<[^>]*>/\n/g': Replaces all HTML tags with newlines to isolate text