Hey Hackers, I believe selenium module got updated and existing code need few changes to work. To resolve that, use the following, ``` from selenium.webdriver.common.by import By # update these snippets browser = webdriver.Chrome(executable_path = path) -----> browser = webdriver.Chrome() # get the input elements input_search = browser.find_element(By.ID, 'twotabsearchtextbox') search_button = browser.find_element(By.XPATH, "(//input[@type='submit'])[1]") product = browser.find_elements(By.XPATH, "//span[@class='a-size-medium a-color-base a-text-normal']") next_button = browser.find_element(By.XPATH, "//a[text()='Next']") ``` The notebook is already updated and available in GitHub repository. Thank you so much for your support!!! Happy Coding🔥
Thank you, watch your video one year ago about hackerrank. Still finding job because I don't have computer science degree. Even after taking aws dva-c02 and aws caa-c03, still no hope, now I am trying to become automation tester
Sir it is showing error that browser = webdriver.Chrome(executable_path = path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path' so how should i resolve it sir please guide me please
Nice explanation Ashwin. But majority of the code shown here is deprecated after more than 2 years. Had to use a lot of Google and Stack Overflow ...keep posting more updated ones \,,/
Thanks for the tip!! I try to update the code in github whenever it's possible. The idea is to convey the overall logic for users to understand how things are working!!!
Hey Hackers,
I believe selenium module got updated and existing code need few changes to work. To resolve that, use the following,
```
from selenium.webdriver.common.by import By
# update these snippets
browser = webdriver.Chrome(executable_path = path) -----> browser = webdriver.Chrome()
# get the input elements
input_search = browser.find_element(By.ID, 'twotabsearchtextbox')
search_button = browser.find_element(By.XPATH, "(//input[@type='submit'])[1]")
product = browser.find_elements(By.XPATH, "//span[@class='a-size-medium a-color-base a-text-normal']")
next_button = browser.find_element(By.XPATH, "//a[text()='Next']")
```
The notebook is already updated and available in GitHub repository.
Thank you so much for your support!!!
Happy Coding🔥
Thanks a ton, just started on it , got the error , happy to see the resolution. You are great!
@@karthikkarthik100 will try to create new video as well with a fresh series!!!
Nicely explained. Special thanks for the HTML xpath tips 👍
Glad it's helpful to you😇
really a great video, made my learning supper fast and easy!
Glad it was helpful!!!
Thank you, watch your video one year ago about hackerrank. Still finding job because I don't have computer science degree.
Even after taking aws dva-c02 and aws caa-c03, still no hope, now I am trying to become automation tester
Try to attend some contests, it's a good way to get jobs without a CS degree and Never give up on the pursuit..
Nicely explained, thank you man
Glad you liked it!!!
Excellent Explanation 🥳🥳
Glad you liked it!!!☺
Thanks a lot, you saved my day
Happy to help!!!
How do you export the scraped data to csv or json?
you can save the dataframe using df.to_csv("output.csv", index=False)
how you get the span class? in direct don't give the just course give us pure leaning
please watch the previous videos for better understanding.... It will give better idea too
Can I scrape multiple columns at a time? Is it possible to scrape 10000+ products?
yes it's possible to do anything, you just have to customize your logic!!!
this video is way outdated for today jupyter notebook but still some quality content
if any product is at discount of 50 perc but i need it at 70 per is it anyway to track when prod is at 70perc i got notification
There is some software for notification alert... Bt doing it in python, you have to build a crawler
@@HackersRealm can u make this for me i will pay ur charge give ur contact i want to discccus some thing with u
@@atulraaazzz2931 you can reach me via insta or linkedin. For consultation also, there is a link in the description
Can you do this in java
It's possible, you can use similar modules in java I guess
Dond do id bud i cand❤️
works
how can we convert these scrapped data's in excel sheet
you can export the dataframe that is shown in the video, df.to_csv('filename.csv')
We should use # this for Id of path rite
Sir it is showing error that
browser = webdriver.Chrome(executable_path = path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path'
so how should i resolve it sir please guide me please
could you please check the pinned comment
Nice explanation Ashwin. But majority of the code shown here is deprecated after more than 2 years. Had to use a lot of Google and Stack Overflow ...keep posting more updated ones \,,/
Thanks for the tip!! I try to update the code in github whenever it's possible. The idea is to convey the overall logic for users to understand how things are working!!!
Not running and my laptop also hanged
the script doesn't need major hardware requirements, restart the machine and try again. It might work
Can I have your email?
It's in the channel description