public static async Task <List <News> > GetTechnologyNews()
 {
     return(await CrawlerABCNews.StartCrawlerAsync("https://abcnews.go.com/Technology", "technology"));
 }
Exemple #2
0
 public static async Task <List <News> > GetEntertainmentNews()
 {
     return(await CrawlerABCNews.StartCrawlerAsync("https://abcnews.go.com/Entertainment", "entertainment"));
 }
 public static async Task <List <News> > GetWorldNews()
 {
     return(await CrawlerABCNews.StartCrawlerAsync("https://abcnews.go.com/International", "world"));
 }
Exemple #4
0
 public static async Task <List <News> > GetSportNews()
 {
     return(await CrawlerABCNews.StartCrawlerAsync("https://abcnews.go.com/Sports", "sport"));
 }
 public static async Task <List <News> > GetPoliticsNews()
 {
     return(await CrawlerABCNews.StartCrawlerAsync("https://abcnews.go.com/Politics", "politics"));
 }