also match for some non-almum-chars
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user