Skip to content

Instantly share code, notes, and snippets.

View Dynnammo's full-sized avatar

Dynnammo

View GitHub Profile
@Dynnammo
Dynnammo / scrap_graph_metabase.py
Created September 20, 2023 10:12
Scrap a Metabase graph using Python + Selenium
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.firefox.options import Options
import time
from random import random
[...]
# PS1 setup
source ps1
PS1='$(set_prompt)'