File size: 260 Bytes
b5f33fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os
import random
from time import sleep


def create_dir(dir_path):
    if not os.path.exists(dir_path):
        os.makedirs(dir_path)


def skip_captcha():
    print('Skipping the captcha...')


def rand_sleep():
    sleep(0.5 + random.random() * 0.5)