This file contains 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
#!/usr/bin/env python | |
import subprocess | |
import time | |
import datetime | |
import re | |
import sys | |
def sendNotification(message): | |
subprocess.Popen(['notify-send', f'-u', 'low', message]) |
This file contains 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
import socket | |
import subprocess | |
import sys | |
import asyncio | |
import time | |
from datetime import datetime | |
import concurrent.futures | |
import requests | |
import random |
This file contains 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
from urllib.request import urlretrieve | |
import string | |
NAMES_WITH_LINKS_FILE_NAME = 'links-with-names.txt' | |
PATH_TO_SAVE = '/home/qua/Music/' | |
def get_name(name): | |
result = '' |
This file contains 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
import os | |
import requests | |
import pickle | |
import logging | |
import tqdm # pip install tqdm | |
import vk_api # pip install vk_api bs4 | |
from vk_api import audio |