summaryrefslogtreecommitdiff
path: root/home/xyz/.config/newsboat/config
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.config/newsboat/config')
-rw-r--r--home/xyz/.config/newsboat/config5
1 files changed, 4 insertions, 1 deletions
diff --git a/home/xyz/.config/newsboat/config b/home/xyz/.config/newsboat/config
index 28e2cb3a..3bfadf8e 100644
--- a/home/xyz/.config/newsboat/config
+++ b/home/xyz/.config/newsboat/config
@@ -19,7 +19,10 @@ macro y set browser "echo %u | xsel -ib"; open-in-browser; set browser "$BROWSER
# maybe aur rss feed is broken; maybe arch linux feeds are updated very fast so I can't get the wanted news?
# not fully understand the rss feed
#ignore-article "https://aur.archlinux.org/rss/" "title !~\"youtube-dlp|yt-dlp\""
-ignore-article "https://zh.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&Category:published" "title =~ \"^[0-9]{4,}年[0-9]{1,2}月[0-9]{1,2}日(中文|香港)報紙頭條$\""
+# use \ to "Splitting long lines into multiple ones" (`man newsboat`)
+ignore-article "https://zh.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&Category:published" \
+"title =~ \"^([0-9]{4,}年[0-9]{1,2}月[0-9]{1,2}日((中文|香港)報紙頭條|香港天氣報告))|\
+((竹新|柏立)社[0-9]{4,}年[0-9]{1,2}月[0-9]{1,2}日新闻)$\""
ignore-article "https://github.blog/feed/" "title !~ \"game\""