Save the packets you capture in a pcap file.
Use git clone to install the folder.
https://github.com/hel4s/Network-Sniffer-pcap-file.git
Open two terminal windows and change the directory to the Network Sniffer pcap folder. On one of the window, run:
python3 sniffer.py