adrianhajdin / pricewise

Dive into web scraping and build a Next.js 13 eCommerce price tracker within a single video that teaches you data scraping, cron jobs, sending emails, deployment, and more.
https://pricewise-jsm.vercel.app
508 stars 151 forks source link

Functions not working #2

Open 4artiseth opened 1 year ago

4artiseth commented 1 year ago

image image Buttons not functioning.

Greg-Mukuria commented 1 year ago

true

NamanMalhotra1706 commented 1 year ago

image image Buttons not functioning.

Could You Please explain your error?

4artiseth commented 1 year ago

I havent read the code. But the issue could be that its unable to scrape data for the products nor is able to do anything upon clicking the search button except the "searching..." animation. The above buttons of "search" "fav" and "user profile" also seem to be just not clickable.

NamanMalhotra1706 commented 1 year ago

I havent read the code. But the issue could be that it's unable to scrape data for the products nor is able to do anything upon clicking the search button except the "searching..." animation. The above buttons of "search" "fav" and "user profile" also seem to be just not clickable.

Okay, If You Are Not getting Scrape Data, then check your Scraper --> Index.ts, Check Your index.ts file... It will help you to fetch data. if you still facing any issue let me know please

gurvirbaraich commented 1 year ago

@4artiseth Have you updated .env file with your environment variables as @adrianhajdin will purge all the secret he used in the video.

4artiseth commented 1 year ago

Okay, If You Are Not getting Scrape Data, then check your Scraper --> Index.ts, Check Your index.ts file... It will help you to fetch data. if you still facing any issue let me know please

HIS website isnt working. Check his webiste yourself: https://pricewise-jsm.vercel.app/

NamanMalhotra1706 commented 1 year ago

Okay, If You Are Not getting Scrape Data, then check your Scraper --> Index.ts, Check Your index.ts file... It will help you to fetch data. if you still facing any issue let me know please

HIS website isnt working. Check his webiste yourself: https://pricewise-jsm.vercel.app/

Yes, I checked it, It's showing scraped data, when you inspect it and check the network you can see that, it is fetching data successfully. and when you scroll down to last you can see the product of that link.

4artiseth commented 1 year ago

Okay, If You Are Not getting Scrape Data, then check your Scraper --> Index.ts, Check Your index.ts file... It will help you to fetch data. if you still facing any issue let me know please

HIS website isnt working. Check his webiste yourself: https://pricewise-jsm.vercel.app/

Yes, I checked it, It's showing scraped data, when you inspect it and check the network you can see that, it is fetching data successfully. and when you scroll down to last you can see the product of that link.

oh okay, what could the issue be then?

PRIYAM266 commented 1 year ago

This is not technically an error because there is no onClick logic applied to these icons. Currently, they are simply images and not functioning as buttons.

gurvirbaraich commented 1 year ago

image

The button only shows the loading animation but does not do anything. I believe he has purged all the environment variables that he has used during the video. As he has so many subs all even using once will cost him so much money.

Jobex11 commented 10 months ago

kindly send the code, I will have a better view on how to fix the function. But I think on Search, is unable to scrape products.

Praneshbharadwaj commented 9 months ago

see the product it is geting displayed at the bottom of the page it not redirecting after we searxch the item rather it is just appending down in the trending products sectrion