def run(): data = [] print("fectching bible") data.append(bibleProc.consume(bibleIn.fetch())) print("done. Fetching news") data.append(tldrnewsProc.consume(tldrnewsIn.fetch())) print("done. outputing") textOut.put(data, "/home/toben/Code/Little-News-Processor/sample.txt") print("Network complete")
def run(): data = [] print("fectching bible") data.append(bibleProc.consume(bibleIn.fetch())) print("done. Fetching news") data.append(tldrnewsProc.consume(tldrnewsIn.fetch())) print("done. Fetching weather") data.append(weatherProc.consume(weatherIn.fetch())) print("done. outputing") textOut.put(data,kindle+"dailyNews.txt") print("Network complete")
def run(): caleb_data = calebIn.fetch() data = [] print("fectching bible") data.append(bibleProc.consume(bibleIn.fetch())) print("done. Fetching weather") data.append(weatherProc.consume(weatherIn.fetch())) print("done. Fetching support stats") data.append(calebAmountsProc.consume(caleb_data)) data.append(calebSupportersProc.consume(caleb_data)) print("done. Fetching news") data.append(tldrnewsProc.consume(tldrnewsIn.fetch())) print("done. outputing") textOut.put(data,kindle+"dailyNews.txt") print("Network complete")