-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinformation.py
More file actions
23 lines (18 loc) · 757 Bytes
/
Copy pathinformation.py
File metadata and controls
23 lines (18 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
headers = {
"Connection": "keep-alive",
"Cache-Control": "max-age=0",
"sec-ch-ua-mobile": "?0",
"DNT": "1",
"Upgrade-Insecure-Requests": "1",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36",
"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",
"Sec-Fetch-Site": "none",
"Sec-Fetch-Mode": "navigate",
"Sec-Fetch-User": "?1",
"Sec-Fetch-Dest": "document",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "ko-KR,ko;q=0.9"
}
DCINSIDE_URL = "https://gall.dcinside.com"
SAVE_DIRECTORY = "save"
invalid = '<>:"/\|*. '