fix: add a few edgecases to replace script (#1531)

This commit is contained in:
rhld16 2024-02-12 07:40:49 +00:00 committed by GitHub
parent 6553dc3dc6
commit 4c0c99fc54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
.github/replace.py vendored
View File

@ -33,6 +33,10 @@ def individual(text: str):
) )
text = re.sub("/base64/#do-k-ument", "/base64/#do_k_ument", text) text = re.sub("/base64/#do-k-ument", "/base64/#do_k_ument", text)
text = re.sub("/devtools/#machine-learning2", "/devtools/#machine-learning-1", text) text = re.sub("/devtools/#machine-learning2", "/devtools/#machine-learning-1", text)
text = re.sub("/linuxguide#software-sites2", "/linuxguide#software-sites-1", text)
text = re.sub("/linuxguide#software_sites", "/linuxguide#software-sites", text)
text = re.sub("/non-english#reading10", "/non-english#reading-9", text)
text = re.sub("/storage#satellite-.26amp.3B_street_view_maps", "/storage#satellite-street-view-maps", text)
# Base64-decoder script link # Base64-decoder script link
text = re.sub( text = re.sub(