Scrape Amazon easily with this python library
Dec 31, 2020
In this story we are going to search text on amazon and fetch the results. We will use bot-studio library to obtain such results. Here are the steps to follow to obtain results:-
- Install bot-studio
pip install bot-studio
2. Import bot-studio
from bot_studio import *
3. Search a keyword on amazon
4. Get the search results by calling function search_results .
5. You can move to next page as well and fetch results
all_pages_results= {}
for i in range(0,12):
response=amazon.search_results()
search_results=response['body']
all_pages_results[i]=search_results
amazon.click_next()