Skip to content

itabas016/nntp-news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NNTP News Agent

First, nntp news is base on nntp(Network News Transfer Protocol), the details please see wiki, you can search free nntp source from website free usenet news

Sample

This sample list week's python announce news from aioe

output -> index

BBC News

Currently, bbc nntp server is invaild, using API to show the topest bbc news.

agent = NewsAgent()

bbc_news_url = 'https://newsapi.org/v1/articles?source=bbc-news&sortBy=top&apiKey={your-api-key}'
bbc_news = APIJsonSoucre(bbc_news_url)

agent.addSource(bbc_news)
agent.addDestination(HTMLDestination2('news.html'))

agent.distribute()

output -> news

About

simple nntp server list BBC today's news

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published