added revised code for main.py
This commit is contained in:
@ -18,4 +18,5 @@ if __name__ == "__main__":
|
|||||||
scrape_body('https://www.google.com/search?q={}&start=' + str(i))
|
scrape_body('https://www.google.com/search?q={}&start=' + str(i))
|
||||||
search_url = search_url.format(search_keyword)
|
search_url = search_url.format(search_keyword)
|
||||||
with open('output.txt', 'w+') as f:
|
with open('output.txt', 'w+') as f:
|
||||||
f.writelines(body_list)
|
f.writelines(body_list)
|
||||||
|
#end
|
||||||
Reference in New Issue
Block a user