-
Notifications
You must be signed in to change notification settings - Fork 0
/
Constants.py
32 lines (30 loc) · 1001 Bytes
/
Constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
RATING = "rating"
ID = "id"
IS_SERIES = "isSeries"
AVG_TIME = "avrgTime"
EPISODE_COUNT = "episodeCount"
TITLE = "title"
TIME = "time"
GENRES = "genres"
CAST = "cast"
DIRECTORS = "directors"
COUNTRIES = "countries"
DATA_FILE_NAME = "data"
RATING_FILE_NAME = "rating-"
PIECES_STORAGE_FILE_NAME = "pieces"
payload={}
headers = {
'authority': 'www.imdb.com',
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
'accept-language': 'en-US,en;q=0.9',
'cache-control': 'max-age=0',
'sec-ch-ua': '"Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"macOS"',
'sec-fetch-dest': 'document',
'sec-fetch-mode': 'navigate',
'sec-fetch-site': 'same-origin',
'sec-fetch-user': '?1',
'upgrade-insecure-requests': '1',
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36'
}