Update utils.py
Browse files
utils.py
CHANGED
@@ -6,10 +6,11 @@ from info import AUTH_CHANNEL, LONG_IMDB_DESCRIPTION, MAX_LIST_ELM, SHORT_URL, S
|
|
6 |
from imdb import Cinemagoer
|
7 |
from typing import Union, List
|
8 |
from datetime import datetime, timedelta
|
9 |
-
|
10 |
logger = logging.getLogger(__name__)
|
11 |
logger.setLevel(logging.INFO)
|
12 |
|
|
|
13 |
BTN_URL_REGEX = re.compile(r"(\[([^\[]+?)\]\((buttonurl|buttonalert):(?:/{0,2})(.+?)(:same)?\))")
|
14 |
BANNED = {}
|
15 |
SMART_OPEN = '“'
|
|
|
6 |
from imdb import Cinemagoer
|
7 |
from typing import Union, List
|
8 |
from datetime import datetime, timedelta
|
9 |
+
import logging
|
10 |
logger = logging.getLogger(__name__)
|
11 |
logger.setLevel(logging.INFO)
|
12 |
|
13 |
+
|
14 |
BTN_URL_REGEX = re.compile(r"(\[([^\[]+?)\]\((buttonurl|buttonalert):(?:/{0,2})(.+?)(:same)?\))")
|
15 |
BANNED = {}
|
16 |
SMART_OPEN = '“'
|