Skip to content

Instantly share code, notes, and snippets.

@umerfaruk
umerfaruk / save-rekhta.py
Last active April 16, 2023 06:48
Saves the rekhta book as images to your disk.
# Rekhta Import
# Please make sure that you are not using scaling on your windows computer before running this script
# Running this script will cause partial images to be recorded
# Requires the selenium web driver. Check this link https://selenium-python.readthedocs.io/installation.html
# This script uses firefox. Please make sure you have firefox installed on your computer.
#pip install selenium
from selenium import webdriver
from selenium.webdriver.common.keys import Keys