问题
The link which i used to fetch results form google news
https://news.google.co.in/news?cf=all&hl=en&pz=1&ned=in&q=euro2016&csed=in&csep=false&num=100&sort=rated&output=rss
it is working fine but there is problem in number of results that i get. the "num" parameter is returning maximum 30 results irrespective of the number when the num parameter exceeds 30
Has google changed the number of results that it gives. If yes is there any documentation of it
Thanks in advance
回答1:
According to the source:
num=NUM retrieves NUM results. Default: 10. Possible values: if q present [1,100], otherwise [1, 30]
However, I tried with no success retreives the max limit results.
I think that due to Google News API is deprecated, some parameters are no longer functional.
Check also this answer on Stack Overflow and its comments for get even more info about Google News API.
来源:https://stackoverflow.com/questions/38072532/google-news-rss-parameter-num-100-returning-only-30-results