I have an HTML data table on a website, and have set up a code to scrape all of the data from it. HOWEVER, it does not scrape the images in this HTML data table. I want to scrape the images and have them go in their associated column of their associated rows. If I cannot scrape the images, it would be just as good to scrape the text that indicates there is supposed to be an image in that cell.
I asked on another post, but I think I made it too wordy and did not specify scraping an IMAGE in the title. Here is the link to that post: http://www.mrexcel.com/forum/excel-questions/935067-web-data-scraping-html-data-table.html
The HTML from one cell of one row of the table I am trying to scrape is as follows. There are many rows and many columns, but the cells that contain images are always in the 2nd column, and it is always the same image, with the HTML looking like this. There is not always an image for each row, but I need to know when there is. Some times there is a "G" like there is in this example. Other times no "G" and only the image. I have removed the <'s so that it displays on this forum.
TD colspan=1 align="RIGHT" class="USUALCLASS" NOWRAP BGCOLOR="WHITE">
FONT Face='Arial,Verdana,Helvetica' Size=1 COLOR="BLACK"> img src= '../images/Icons/S.gif' alt='This indicates STATUS' width=10 align=middle> Font color='#0070C0'>G/Font>/FONT>
/TD>
I asked on another post, but I think I made it too wordy and did not specify scraping an IMAGE in the title. Here is the link to that post: http://www.mrexcel.com/forum/excel-questions/935067-web-data-scraping-html-data-table.html
The HTML from one cell of one row of the table I am trying to scrape is as follows. There are many rows and many columns, but the cells that contain images are always in the 2nd column, and it is always the same image, with the HTML looking like this. There is not always an image for each row, but I need to know when there is. Some times there is a "G" like there is in this example. Other times no "G" and only the image. I have removed the <'s so that it displays on this forum.
TD colspan=1 align="RIGHT" class="USUALCLASS" NOWRAP BGCOLOR="WHITE">
FONT Face='Arial,Verdana,Helvetica' Size=1 COLOR="BLACK"> img src= '../images/Icons/S.gif' alt='This indicates STATUS' width=10 align=middle> Font color='#0070C0'>G/Font>/FONT>
/TD>
Last edited: