summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hsuan Yen2024-03-09 00:31:00 +0800
committerChih-Hsuan Yen2024-03-09 00:31:00 +0800
commit24f914024a0da0edb05aeff8f120baae9da074ff (patch)
tree3c2dbd5c4d38aec8112e182a4ad56af10428ebbd
parent61d91a9f4eb71e845e75088fbfe5832a8ca04698 (diff)
downloadaur-24f914024a0da0edb05aeff8f120baae9da074ff.tar.gz
Migrate nvchecker configurations to individual packages
-rw-r--r--.nvchecker.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.nvchecker.toml b/.nvchecker.toml
new file mode 100644
index 000000000000..b4bb78e44c04
--- /dev/null
+++ b/.nvchecker.toml
@@ -0,0 +1,8 @@
+[chunghwa-post-webatm]
+source = "regex"
+url = "https://webatm.post.gov.tw/postatm/index.jsp"
+regex = "setSysVersion\\('([0-9,]+)'\\);"
+# Chunghwa Post website returns different versions based on client OS
+user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
+from_pattern = ","
+to_pattern = "."