http://lxqyom6a3p6fdgsy6mpjyhjqjdpzleseck2jojwwzcilmsvduaeo7zyd.onion/2020/06/11/collect-unconfirmed-transaction-hashes-from-the-mempool/index.html
What is does is that each time you run it, it downloads the entire mempool in JSON format. The mempool, which can be seen as the Bitcoin transfer waiting line, is typically several MB large. When the script has grabbed all the data it starts to filter out transactions hashes, since, in this project, it was the only piece of information we were interested in.