Regarding error

Dear sir,
I am writing this forum to know why the code below is giving an error.

In light of above issue i request you to reply at your earliest convenience.
Thanking you,
Yours sincerely,

Hi @me23btech11058

Please go through this code : Bitcoin price alerting system.
This project is similar to what you are trying to achieve. Make sure that the URL you are using is giving you correct response and is valid. Do make modifications in the code as per your requirements.

If you still find any issues, please feel free to get back to us. Also do share screenshots if you face any difficulties.

Hi @me23btech11058

The URL that you have used in the code is a random URL. Thus it will not return data in JSON format. In the training content we have provided this link to get bitcoin price details. Make sure to research well and replace this link with your correct URL.

If you still face issues, please feel free to get back to us.

Why can’t I use link of product in Amazon do same thing to get prize alerts?

Hi @me23btech11058

The API is specifically designed to provide access to product details, including pricing, availability, images, and more. Trying to extract this information directly from the HTML of a webpage may not provide all the necessary details and could result in errors.