Program can count the number of images and leaf paragraphs in Html (only the last paragraphs in nested paragraph).
Two console should be used for server and client.
python3 web_scraper.py server
server listens for incoming connections.
python3 web_scraper.py client (website)
client send url to the server and in reply get the number of images and leaf paragraphs in Html.
To get files
git clone https://github.com/elgunzaman/web-scraper
Then install requirements.txt to have all needed packets
pip install requirements.txt