From d5226d844e3ac417cd68d51d66aadd471710e14e Mon Sep 17 00:00:00 2001 From: Yash Arya Date: Thu, 30 Nov 2023 13:29:19 +0530 Subject: [PATCH] Update README.md Made changes to write the updated instructions to use the script. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b48547a..a58eddf 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Follow these steps to get the Python Price Scraper up and running: Here’s how to use the Python Price Scraper: -1. **Enter URL**: Upon executing the main.py script, you will be prompted to enter a URL. This URL should be of a product page from Amazon or Flipkart. If the URL is not from these platforms, the script will terminate with an error. +1. **Enter URL**: Upon executing the main.py script, you will be prompted to enter either a URL or the name of the product you want to search for. If you provide a URL, ensure it is from a product page on Amazon or Flipkart. Entering a URL from a different platform will result in an error message, terminating the script. If you enter the product name, you will be prompted to choose whether to search for it on Amazon or Flipkart. 2. **View Product Information**: If the URL is valid, the script will display the product information, including the source (Amazon or Flipkart), name, and price. 3. **Search on Other Platform**: The script will then ask if you want to search for the same product on the other platform (Amazon or Flipkart) automatically, or if you would like to enter the link manually. Press y to continue the automatic search, or enter the link manually. 4. **View Product Information from Other Source**: The script will display the same product information, but this time from the other source.