• Post Reply Bookmark Topic Watch Topic
  • New Topic

detecting image on a webpage  RSS feed

 
Abhradeep Banerjee
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to know if there is a way to detect an image on a webpage for example 1.gif (from a website table)

and then write the word low in a notepad or in excel.
Regards
Trendnet18
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you open the source of a webpage, do you see anything that could be of use?
 
Abhradeep Banerjee
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes there is that doesnt answer my question

I want to create a program where by it will detect the image 1.gif and put the word Low inside Excel or even notepad.
Regards
Trendnet18
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you have so far, and where are you stuck making progress? If you haven't started, what ideas have you had?
 
Abhradeep Banerjee
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so far i was able to import the table into excel using the web query function.

Idea 1: detecting the image eg 1.gif will reflect in the table as Low

Idea 2: Goto each hyperlink automatically search for the work Low and paste in the cell

Frankly I think Idea 1 makes more sense. But I have no idea how to do it.

Thanks
 
Abhradeep Banerjee
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone ???
I heard that it is possible to do it using a webcrawler program anyone knows how to do it?
Thanks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A library like HttpUnit makes it easy to access web pages programmatically and inspect its content.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!