How to save photos contained in an HTML table by naming them according to the code contained in another column?

0

Hello, I had access to some pictures (of students at the school where I teach) that I need to save in a single folder, so that the files are named according to the student's file number. For example, student of record 1234567 will have his photo named as 1234567.jpg . I had access to these photos from the table on a page that follows the following pattern:

<table>
<tr><td><img src='fotos.php?foto=1234567'/></td><td>1234567</td></tr>
<tr><td><img src='fotos.php?foto=9876543'/></td><td>9876543</td></tr>
...
</table>

I tried to use a plugin in the browser to lower these photos but it names them as fotos (n).jpg . I also tried using a program that renames batch files, but it did not work.

How can I extract these photos efficiently? (I will not just save one by one because there are hundreds.)

    
asked by anonymous 16.05.2018 / 17:46

0 answers

___ xp_cmdshell how to put folders that have space?