python-wireshark:
1、数据获取:shark.exe -i USBPcap1 -b filesize:1024 -F pcapng -w path\temp_pcap.pcapng
https://www.cnblogs.com/lsdb/p/9765136.html