Skip to content

Instantly share code, notes, and snippets.

@YuviGold
YuviGold / scrape_whatsapp.js
Created July 10, 2024 07:31
Whatsapp Group Exporter
/*
Inspired by https://gist.github.com/shaneapen/3406477b9f946855d02e3f33ec121975
The script scrapes the members of a WhatsApp group chat and exports the data to a CSV file.
It scrolls automatically and extracts each list item in the members list with all the information available.
Then it joins this information with the indexedDB data to get the groups the member is in and if the contact's info
if it is already saved in the phone.
Steps:
1. Open WhatsApp Web
@YuviGold
YuviGold / docker_mtu_connectivity.sh
Last active April 15, 2023 14:54
Verify running docker containers run with the same MTU as the Uplink
#!/bin/bash
set -o nounset
set -o errexit
set -o pipefail
function get_route_device() {
ip route get "${1}" | grep -Po '(?<=dev\s)[\w-]+' | cut -f1 -d ' '
}