Getting more than 100 news

Dear All,

Is it possibel that I can get more than 100 news. I need news for 1 complete year. secondly, how can I built a loop to get 100 news each time and save and then for next date and so on by writing or appending the file. Thanks

Best Answer

  • Since the python api handles 100 articles or less per one request, you will need to chain several requests in a loop adding a pause, as you have correctly mentioned.

    For loops in python check out this article from learnpython.org.