For loop doesn't work for web scraping Google search in python

后端 未结 1 1638
情话喂你
情话喂你 2021-01-29 10:02

I\'m working on web-scraping Google search with a list of keywords. The nested For loop for scraping a single page works well. However, the other for loop searching keywords in

1条回答
  •  清歌不尽
    2021-01-29 10:41

    You need to create ceo as a list and append to it inside the for loop so you don't keep overwriting it

    0 讨论(0)
提交回复
热议问题