i have a set of html pages that are separated by directories like category/subdir/file
each category has ~ 300 - 1000 files and are separated with multiple subdirs like
and i want a script that parses all the files, extract data from the html pages, like contact number, email, etc and then put it into a db with the category name, email address, name, and all the data needed.
the data needs to be separated in the db.
i upload an example of the file.