Jan-25-2020, 07:36 PM
On mobile now so I cant write a full example but you have already done that in your first code snippet. You just left soup with no search or results if it was found or not.
Loop the directory for each html file, then search each file for that soup I gave. If that returns data then it was found and log that file as it contains that ID. Then proceed in that for loop to the next file and repeat.
Loop the directory for each html file, then search each file for that soup I gave. If that returns data then it was found and log that file as it contains that ID. Then proceed in that for loop to the next file and repeat.
Recommended Tutorials: