WolfmanTR_ Posted July 6, 2013 Share Posted July 6, 2013 ir sitedeki resimin urlsini alacağım ama messagebox ta boş gönderiyor. alacağım resim <img scr = "siteadi.com/resimismi.jpg"<img> şeklinkde. HtmlElementCollection col = web.Document.GetElementsByTagName("img"); foreach (HtmlElement el in col) { img_link = el.GetAttribute("scr"); MessageBox.Show(img_link); } Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted July 6, 2013 Editor Share Posted July 6, 2013 sitenin linkini verirsen bi bakalım.Tag ile Class ı neyse çekilebilir Quote Link to comment Share on other sites More sharing options...
WolfmanTR_ Posted July 6, 2013 Author Share Posted July 6, 2013 sitenin linkini verirsen bi bakalım.Tag ile Class ı neyse çekilebilir http://www.youtube-mp3.org/tr Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted July 6, 2013 Editor Share Posted July 6, 2013 picturebox.ImageLocation = http://i3.ytimg.com/vi/video id si/default.jpg Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.