Update add-headers.py

This commit is contained in:
nbats 2023-06-18 23:30:00 -07:00 committed by GitHub
parent 977057c41a
commit 126a128ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ headersData = {
"VideoPiracyGuide.md": [":tv:", "120", "# Movies / TV / Anime", "Stream Videos, Download Videos, Torrent Videos"], "VideoPiracyGuide.md": [":tv:", "120", "# Movies / TV / Anime", "Stream Videos, Download Videos, Torrent Videos"],
"base64.md": [":key:", "20", "", ""], "base64.md": [":key:", "20", "", ""],
"img-tools.md": [":camera:", "55", "# Image Tools", ""], "img-tools.md": [":camera:", "55", "# Image Tools", ""],
"UnsafeSites.md": [":warning:", "21", "# Unsafe Sites / Software list", ""] "UnsafeSites.md": [":warning:", "21", "# Unsafe Sites", ""]
} }
def getHeaderForPage(pageFilename): def getHeaderForPage(pageFilename):
@ -41,4 +41,4 @@ def apply_to_all_md_files_in_current_dir():
header = getHeaderForPage(file) header = getHeaderForPage(file)
f2.write(header+content) f2.write(header+content)
apply_to_all_md_files_in_current_dir() apply_to_all_md_files_in_current_dir()