This is just a simple http and html package wraper for scraping https://news.google.com/
TBA!
import 'package:gnews/gnews.dart';
void main() async {
var service = GNewsScrap();
var headlines = await service.getHeadlines();
if(headlines != null) {
headlines.forEach((headline){
print(headline?['title']);
print(headline?['article_path']);
print(headline?['thumbnail_url']);
print(headline?['publish_at'] + '\n');
});
}
}