Update issue_moderator.yml (#2740)

* Update issue_moderator.yml

Swaps Tachi Cloudflare link to Keiyoushi's link

* Update issue_moderator.yml

Swapped Cloudflare link to keiyoushi's site, removed period

* Update issue_moderator.yml

Re-adds periods back
This commit is contained in:
aaronisles 2024-05-18 00:11:46 +12:00 committed by Draff
parent 025c675714
commit 312bb8c3b0
No known key found for this signature in database
GPG Key ID: DFB575304B189694
1 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import html
import json
import os
import re
@ -107,3 +108,10 @@ with (REPO_DIR / "index.json").open("w", encoding="utf-8") as f:
with (REPO_DIR / "index.min.json").open("w", encoding="utf-8") as f:
json.dump(index_min_data, f, ensure_ascii=False, separators=(",", ":"))
with (REPO_DIR / "index.html").open("w", encoding="utf-8") as f:
f.write('<!DOCTYPE html>\n<html>\n<head>\n<meta charset="UTF-8">\n<title>apks</title>\n</head>\n<body>\n<pre>\n')
for entry in index_data:
apk_escaped = 'apk/' + html.escape(entry["apk"])
name_escaped = html.escape(entry["name"])
f.write(f'<a href="{apk_escaped}">{name_escaped}</a>\n')
f.write('</pre>\n</body>\n</html>\n')