Here is a solution that does not require the use of third-party applications.
Step 1:
Open Safari and navigate to the webpage.
Show Reader View if available and preferred.
From the menu bar, select File > Export as PDF > [Location] > Save.
Step 2:
Open the PDF file in Preview.
Select File > Export > [Location] and Format: HEIC/JPEG/PNG > Save.
Hope it helps ..!!
Also, To Secure your macOS from virus and trojans, use always a mac optimization software like mac optimizer.