Dear Prakhar,I hope you are doing good.I tried to retrieve the data of the given URL by using the below tag.To display the table, please use the below R script.library(rvest)wdata%>%html_nodes("table") %>%.[[1]]%>%html_table()To display the table, please use the below R script.
library(rvest)wdata %>%html_nodes("#detailed-forecast-body") %>%html_text()Note: "detailed-forecast-body" is the id of the div in the Page you have shared. You can find it by Right click on the page -> View page source -> search for the keyword "today"Hope this helps.Please feel free to revert if you need any further help.If you feel satisfied with my response kindly leave your feedback by clicking on any one of the below smileysPlease note if you are not happy with the response on this ticket, please escalate it to escalations@edureka.in.We assure you that we will get back to you within 24 hours
Web scraping Print
Modified on: Wed, 6 Jul, 2016 at 12:07 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.