-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconstants.py
22 lines (19 loc) · 1.26 KB
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
THE_CAMP_URL = 'https://www.thecamp.or.kr/main/viewWebMain.do'
THE_CAMP_LOGIN_URL = 'https://www.thecamp.or.kr/login/loginA.do'
THE_CAMP_MEMBER_URL = 'https://www.thecamp.or.kr/member/viewMemberMgr.do'
THE_CAMP_2 = "https://www.thecamp.or.kr/eduUnitCafe/viewEduUnitCafeMain.do"
THE_CAMP_VIEW_CONSOLE_LETTER = 'https://www.thecamp.or.kr/consolLetter/viewConsolLetterMain.do'
THE_CAMP_SEND_LETTER = 'https://www.thecamp.or.kr/consolLetter/insertConsolLetterA.do'
naver_news = "https://news.naver.com"
naver_popular_news = "https://news.naver.com/main/ranking/popularDay.nhn?rankingType=popular_day"
naver_sports_news = "https://sports.news.naver.com/wfootball/news/index.nhn?isphoto=N&type=popular"
REAQUEST_HEADERS = {
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3',
'Accept-Encoding': 'gzip, deflate, br',
'accept-language': 'ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7',
'content-type': 'application/x-www-form-urlencoded',
'origin': 'https://www.thecamp.or.kr',
'referer': 'https://www.thecamp.or.kr/login/viewLogin.do',
'upgrade-insecure-requests': '1',
'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36'
}