Sfoglia il codice sorgente

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

master
Jared Bell 3 giorni fa
parent
commit
10492326c7
2 ha cambiato i file con 14 aggiunte e 4 eliminazioni
  1. +2
    -2
      main.py
  2. +12
    -2
      resources/sources.txt

+ 2
- 2
main.py Vedi File

@@ -17,8 +17,8 @@ logger = logging.getLogger(__name__)
SOURCE_FILE = './resources/sources.txt' SOURCE_FILE = './resources/sources.txt'
STOPWORDS_FILE = './resources/stopwords.txt' STOPWORDS_FILE = './resources/stopwords.txt'
EXCLUDED_PHRASES_FILE = './resources/excluded_phrases.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. # Used so stories without a parsable date sort behind dated ones.
_MIN_DATE = date.min _MIN_DATE = date.min


+ 12
- 2
resources/sources.txt Vedi File

@@ -25,11 +25,16 @@ https://www.france24.com/en/rss
https://www.euronews.com/rss?format=mrss&level=theme&name=news https://www.euronews.com/rss?format=mrss&level=theme&name=news
https://www.spiegel.de/international/index.rss https://www.spiegel.de/international/index.rss
https://feeds.elpais.com/mrss-s/pages/ep/site/english.elpais.com/portada 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 # Middle East & Asia
https://www.aljazeera.com/xml/rss/all.xml https://www.aljazeera.com/xml/rss/all.xml
https://www.japantimes.co.jp/feed/ 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 # Policy & national
https://feeds.washingtonpost.com/rss/world https://feeds.washingtonpost.com/rss/world
@@ -38,4 +43,9 @@ https://www.vox.com/rss/index.xml


# Business # Business
https://www.cnbc.com/id/100003114/device/rss/rss.html 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/

Caricamento…
Annulla
Salva