def get_curious_articles(): a = Parser.get_urls_with_threshold(bt.overall(), "Analytical") b = list() if len(a) < 5: b = Parser.get_urls_with_threshold(bt.business(), "Analytical") return __merge_lists(a, b)[:5]
def get_happy_articles(): a = Parser.get_urls_with_threshold(bt.overall(), "Joy", threshold=0.55) b = list() if len(a) < 5: b = Parser.get_urls_with_threshold(bt.sports(), "Joy") return __merge_lists(a, b)[:5]
def get_fear_articles(): a = Parser.get_urls_with_threshold(bt.overall(), "Fear") b = list() if len(a) < 5: b = Parser.get_urls_with_threshold(bt.business(), "Fear") return __merge_lists(a, b)[:5]