This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import json | |
import re | |
import urllib.request | |
from bs4 import BeautifulSoup | |
NAME_RULE = r"(\d+)/\d+.py" | |
CLIENT_HEADER = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0'} | |
def search_solved_ac(problem): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib3 | |
import json | |
import os | |
from datetime import datetime, timezone, timedelta | |
seoul = timezone(timedelta(hours=9) ,name="Asia/Seoul") | |
http = urllib3.PoolManager() | |
url = os.environ["SLACK_WEBHOOK_URL"] | |
slack_channel = os.environ["SLACK_CHANNEL"] |
OlderNewer