π¨βπ»
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Save the script in /usr/bin/spliti3 and make sure you make it executable using: | |
sudo chmod +x /usr/bin/spliti3 | |
(Replace socket path on line 34 of script) | |
Create a systemd service using: | |
sudo nano /etc/systemd/system/spliti3.service | |
(Replace your username on line 7 of service) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Log in to your account manually and let the bot do the job | |
# Scroll down to the bottom of your following to start a new batch | |
from selenium import webdriver | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.common.by import By | |
driver = webdriver.Chrome(executable_path="/opt/chromedriver") # path to your webdriver | |
page_name = input("Input your username: ") |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"total_surahs": 14, | |
"total_meccan_surahs": 89, | |
"total_medinan_surahs": 25, | |
"total_verses": 6236, | |
"number_of_words": 77430, | |
"number_of_unique_words": 18994, | |
"number_of_stems": 12183, | |
"number_of_lemmas": 3382, |