also match for some non-almum-chars

This commit is contained in:
2026-07-01 18:47:02 +02:00
parent fc057270b9
commit 63d7ac423c

View File

@@ -9,7 +9,7 @@ FORUM_URL="https://forum.makemkv.com/forum/viewtopic.php?f=5&t=1053"
CONTENT=$(curl -sL "$FORUM_URL") CONTENT=$(curl -sL "$FORUM_URL")
# 1. Extract the key (T- followed by 66 alphanumeric characters) # 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 # 2. Extract the line immediately following the key
# - sed 's/<[^>]*>/\n/g': Replaces all HTML tags with newlines to isolate text # - sed 's/<[^>]*>/\n/g': Replaces all HTML tags with newlines to isolate text