瀏覽代碼

Merge remote changes (thresholds, extra feeds) with SSR extractor

master
Jared Bell 2 天之前
父節點
當前提交
10492326c7
共有 2 個檔案被更改,包括 14 行新增4 行删除
  1. +2
    -2
      main.py
  2. +12
    -2
      resources/sources.txt

+ 2
- 2
main.py 查看文件

@@ -17,8 +17,8 @@ logger = logging.getLogger(__name__)
SOURCE_FILE = './resources/sources.txt'
STOPWORDS_FILE = './resources/stopwords.txt'
EXCLUDED_PHRASES_FILE = './resources/excluded_phrases.txt'
SIMILARITY_THRESHOLD = 0.75
MIN_SOURCES = 2
SIMILARITY_THRESHOLD = 0.68
MIN_SOURCES = 3

# Used so stories without a parsable date sort behind dated ones.
_MIN_DATE = date.min


+ 12
- 2
resources/sources.txt 查看文件

@@ -25,11 +25,16 @@ https://www.france24.com/en/rss
https://www.euronews.com/rss?format=mrss&level=theme&name=news
https://www.spiegel.de/international/index.rss
https://feeds.elpais.com/mrss-s/pages/ep/site/english.elpais.com/portada
https://www.rt.com/rss/news/
https://www.euronews.com/news/americas
https://tvpworld.com/69471092/news

# Middle East & Asia
https://www.aljazeera.com/xml/rss/all.xml
https://www.japantimes.co.jp/feed/
https://www.scmp.com/rss/91/feed
https://www.scmp.com/rss/322262/feed/
https://www.philstar.com/rss/world
https://www.thejakartapost.com/

# Policy & national
https://feeds.washingtonpost.com/rss/world
@@ -38,4 +43,9 @@ https://www.vox.com/rss/index.xml

# Business
https://www.cnbc.com/id/100003114/device/rss/rss.html
https://www.forbes.com/business/
https://www.forbes.com/business/

# Miscellaneous
https://theintercept.com/feed/
https://www.occrp.org/en
https://www.bellingcat.com/

Loading…
取消
儲存