Количество поисковых запросов в Python Google Search API

Я использую Google Search API, чтобы получить лучшие поисковые URL-адреса с учетом ключевого слова поиска. Параметр "stop" в функции должен быть числом выходных URL. Тем не менее, я пробовал разные цифры и вывод всегда противоречив. Кто-нибудь сталкивался с этим раньше?

(Версия Python: 3.6)

Пример: "стоп" = 1, но вывод дает 16

from google import search #get top google search urls

searchWord = "automation"
searchList = search(searchWord, stop=1)

for url in searchList:
    print(url)

**Output:**
    http://marketing-automation.ca/
    https://en.wikipedia.org/wiki/Automation
    https://en.wikipedia.org/wiki/Category:Automation
    https://en.wikipedia.org/wiki/Outline_of_automation
    https://en.wikipedia.org/wiki/Automation_technician
    https://en.wikipedia.org/wiki/Building_automation
    https://www.theglobeandmail.com/business/article-with-automation-threatening-jobs-canada-needs-to-form-an-action-plan/
    https://www.theglobeandmail.com/business/commentary/article-automation-presents-a-dual-challenge-for-canada-we-must-take/
    https://www.newswire.ca/news-releases/tissue-diagnostics-companies-focus-on-automation-and-partnerships-to-expand-revenues-689905331.html
    https://www.marketwatch.com/story/retail-automation-market-2018-global-analysis-business-growth-emerging-technologies-development-status-competitive-landscape-and-revenue-by-forecast-2023-2018-08-02
    https://globalnews.ca/news/4105713/automation-workforce-canada-human/
    http://brookfieldinstitute.ca/research-analysis/automation/
    https://twitter.com/hashtag/automation?lang=en
    https://www.investinontario.com/industrial-automation-and-robotics
    https://shelley.com/
    https://www.innovativeautomation.com/

0 ответов

Другие вопросы по тегам