Skip to content

Commit 4763bac

Browse files
committed
workbook 자동화
1 parent 39458e9 commit 4763bac

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

workbook/actions.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ def parse_category():
1919
return category
2020

2121
def get_problem_info(workbook_url):
22-
headers = {
23-
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
24-
"AppleWebKit/537.36 (KHTML, like Gecko) "
25-
"Chrome/114.0.0.0 Safari/537.36"
26-
}
27-
txt = requests.get(workbook_url, headers=headers).text
22+
# headers = {
23+
# "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
24+
# "AppleWebKit/537.36 (KHTML, like Gecko) "
25+
# "Chrome/114.0.0.0 Safari/537.36"
26+
# }
27+
txt = requests.get(workbook_url).text
2828
pattern = '/problem/'
2929
ret = []
3030
print(txt)

0 commit comments

Comments
 (0)