「利用者:Fet-Fe」の版間の差分
ナビゲーションに移動
検索に移動
細
→恒心教徒の皆様へ:当Wikiのソースの魚拓取得をお手伝い下さい
>Fet-Fe |
>Fet-Fe |
||
44行目: | 44行目: | ||
from time import sleep | from time import sleep | ||
from datetime import datetime | from datetime import datetime | ||
from typing import Final | |||
ROOT = "https://krsw-wiki.org" | ROOT: Final[str] = "https://krsw-wiki.org" | ||
ARCHIVE = "https://archive.ph" | ARCHIVE: Final[str] = "https://archive.ph" | ||
yobi = re.compile(r'\([日月火水木金土]\)') | yobi: re.Pattern = re.compile(r'\([日月火水木金土]\)') | ||
archive_wip_url_re = re.compile(r'document\.location\.replace\(\"(https:\/\/archive\.ph\/wip\/\S+)\"\)') | archive_wip_url_re: re.Pattern = re.compile(r'document\.location\.replace\(\"(https:\/\/archive\.ph\/wip\/\S+)\"\)') | ||
# curlコマンドでリクエストを送る | # curlコマンドでリクエストを送る |