im currently thinking about writing about a script which is looking out for new articles from google news search. So I want to download the first 10-20 articles and safe it into a folder. Best would be only the main text not the whole html file.
So as an example: Searchterm "FC Barcelona" Folder "01.01.2020" articles in here
Consider using the Google News RSS feed. It is already formatted in a easy to parse format. You can perform a search using the following format.
https://news.google.com/rss/search?{query}where query can beq=keywordsso for your example searching forSearchterm "FC Barcelona". The query must be urlencoded. Which can be done with PythonThen you can parse the feed as you liked and place the data into folders.