We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39458e9 commit 4763bacCopy full SHA for 4763bac
workbook/actions.py
@@ -19,12 +19,12 @@ def parse_category():
19
return category
20
21
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
+# headers = {
+# "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
+# "AppleWebKit/537.36 (KHTML, like Gecko) "
+# "Chrome/114.0.0.0 Safari/537.36"
+# }
+ txt = requests.get(workbook_url).text
28
pattern = '/problem/'
29
ret = []
30
print(txt)
0 commit comments