05:33:20 Good day to all 06:40:42 vsraj80: good day to you too 13:18:19 Hi,sir This is guru prasanna from madurai.I am currently pursuing python full stack developer course in payilagam.As a fresher i need your support and guidance also ,i am willing to work with you and contribute towards open source projects on python. 13:38:56 Hi. i have tried to webscrape the data. somewhere i did mistake. can anyone suggest on this. 13:39:01 https://vsrajpython.wordpress.com/2025/02/13/reg-web-scrape-no-output/ 13:40:07 Mohan:Good day 13:45:26 Guruprasanna: welcome 14:09:44 mohan43u:Thanks for the warm welcome sir 14:49:43 hi vsraj80 14:51:06 for the above issue, try printing each output 14:51:22 the html element you are looking may not be there 14:51:31 or in some other part of the html structure 14:51:47 use INSPECT in browser and copy the xpath of the required element 14:52:05 another info, for the stock market details, try to use any API 14:52:10 like yahoo finance api 14:52:16 instead of scrapping 14:54:16 Shrini: Okay, Thank you. i will try 14:54:59 https://algotrading101.com/learn/yahoo-finance-api-guide/ 14:55:01 interview related there may be a requirement for scrapping. that's why trying 14:55:17 https://www.geeksforgeeks.org/how-to-use-yfinance-api-with-python/ 14:55:28 ok 14:55:37 then get the correct xpath 14:55:49 okay 15:14:38
Merck & Co., Inc.
this is the code https://finance.yahoo.com/research-hub/screener/recent_52_week_lows/ 15:15:39 i tried to pick company = soup.find("div","title") 15:37:15 get the xpath