This tutorial and this documentation describes how to capture packets in a live interface. However, you have to specify a limit (either the number of packets or a timeout) in order to start sniffing:
capture = pyshark.LiveCapture(interface='eth0')
capture.sniff(timeout=50)
OR
cap.sniff(packet_count=50)
My question: Is there a way to keep on capturing packets without specifying a limit?