leetcode.el
leetcode.el copied to clipboard
leetcode command keeps contacting host: leetcode.com:443
The first time to run leetcode
command it successfully install some packages but after that when I run it again, it is stuck at contacting host.
When I eval leetcode--login-p
, the output is like following
[url-cookie "LEETCODE_SESSION" "eyw" "Fri Sep 02 19:18:10 2022 GMT" "/" ".leetcode.com" t]
When I try leetcode-daily
it returns rendered page, both leetcode-try
and leetcode-submit
work.
M-x leetcode-toggle-debug
then M-x leetcode
and wait some time, M-x leetcode--log-open-log
opens the buffer *leetcode-log*
, the content is like following
03:28:56 [DEBUG] set user: xx, solved xx in 2378 problems
03:28:56 [DEBUG] frontend_question_id: 2378, question_id: 2517, title: Choose Edges to Maximize Score in a Tree
03:28:56 [DEBUG] frontend_question_id: 2377, question_id: 2516, title: Sort the Olympic Table
03:28:56 [DEBUG] frontend_question_id: 2372, question_id: 2515, title: Calculate the Influence of Each Salesperson
03:28:56 [DEBUG] frontend_question_id: 2371, question_id: 2506, title: Minimize Maximum Value in a Grid
03:28:56 [DEBUG] frontend_question_id: 2362, question_id: 2501, title: Generate the Invoice
03:28:56 [DEBUG] frontend_question_id: 2361, question_id: 2500, title: Minimum Costs Using the Train Line
03:28:56 [DEBUG] frontend_question_id: 2356, question_id: 2495, title: Number of Unique Subjects Taught by Each Teacher
03:28:56 [DEBUG] frontend_question_id: 2355, question_id: 2490, title: Maximum Number of Books You Can Take
....
03:28:56 [DEBUG] frontend_question_id: 3, question_id: 3, title: Longest Substring Without Repeating Characters
03:28:56 [DEBUG] frontend_question_id: 2, question_id: 2, title: Add Two Numbers
03:28:56 [DEBUG] frontend_question_id: 1, question_id: 1, title: Two Sum