public static async Task <List <News> > GetTechnologyNews()
 {
     return(await CrawlerABCNews.StartCrawlerAsync("https://abcnews.go.com/Technology", "technology"));
 }
Example #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"));
 }
Example #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"));
 }