lscontests 1.11.2 → 1.11.3

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -54,20 +54,13 @@ Options:
54
54
  It performs as follows:
55
55
 
56
56
  <!-- block_cli begin -->
57
- (*The following content was automatically generated using [semantic-release](https://github.com/semantic-release/semantic-release) on Thu, 19 May 2022 12:15:46 GMT*)
57
+ (*The following content was automatically generated using [semantic-release](https://github.com/semantic-release/semantic-release) on Mon, 23 May 2022 11:32:02 GMT*)
58
58
 
59
59
  <details>
60
60
  <summary> <code>> lsct -L en</code> </summary>
61
61
 
62
62
  ```text
63
- There are 3 contests is running on NowCoder
64
-
65
- OJ: NowCoder
66
- Contest name: 牛客竞赛博弈专题班 Sprague-Grundy 函数(SG 函数、图游戏、Nim 和)
67
- Rule: ICPC
68
- Start time: 5/13/2022, 04:00:00
69
- End time: 5/21/2022, 13:00:00
70
- https://ac.nowcoder.com/acm/contest/34655
63
+ There are 2 contests is running on NowCoder
71
64
 
72
65
  OJ: NowCoder
73
66
  Contest name: 2022 图论班第一章图匹配例题与习题
@@ -83,49 +76,28 @@ Start time: 5/17/2022, 09:00:00
83
76
  End time: 5/24/2022, 14:00:00
84
77
  https://ac.nowcoder.com/acm/contest/34974
85
78
 
86
- There are 6 contests on Codeforces,NowCoder,AtCoder,LeetCode in the next 3 days
79
+ There are 3 contests on Codeforces in the next 3 days
87
80
 
88
81
  OJ: Codeforces
89
- Contest name: Codeforces Round #792 (Div. 1 + Div. 2)
90
- Rule: Codeforces
91
- Start time: 5/19/2022, 14:35:00
92
- End time: 5/19/2022, 16:35:00
93
- https://codeforces.com/contests/1684
94
-
95
- OJ: NowCoder
96
- Contest name: 武汉理工大学第三届程序设计竞赛(同步赛)
97
- Rule: ICPC
98
- Start time: 5/21/2022, 03:00:00
99
- End time: 5/21/2022, 08:00:00
100
- https://ac.nowcoder.com/acm/contest/33634
101
-
102
- OJ: NowCoder
103
- Contest name: 第十九届同济大学程序设计竞赛暨高校网络友谊赛
104
- Rule: ICPC
105
- Start time: 5/21/2022, 05:00:00
106
- End time: 5/21/2022, 10:00:00
107
- https://ac.nowcoder.com/acm/contest/34442
108
-
109
- OJ: NowCoder
110
- Contest name: 牛客小白月赛 50
82
+ Contest name: Educational Codeforces Round 129 (Rated for Div. 2)
111
83
  Rule: ICPC
112
- Start time: 5/21/2022, 11:00:00
113
- End time: 5/21/2022, 13:00:00
114
- https://ac.nowcoder.com/acm/contest/11227
84
+ Start time: 5/23/2022, 14:35:00
85
+ End time: 5/23/2022, 16:35:00
86
+ https://codeforces.com/contests/1681
115
87
 
116
- OJ: AtCoder
117
- Contest name: AtCoder Beginner Contest 252
118
- Rule: AtCoder
119
- Start time: 5/21/2022, 12:00:00
120
- End time: 5/21/2022, 13:40:00
121
- https://atcoder.jp/contests/abc252
88
+ OJ: Codeforces
89
+ Contest name: Codeforces Round #794 (Div. 1)
90
+ Rule: Codeforces
91
+ Start time: 5/25/2022, 17:35:00
92
+ End time: 5/25/2022, 19:50:00
93
+ https://codeforces.com/contests/1685
122
94
 
123
- OJ: LeetCode
124
- Contest name: Weekly Contest 294
125
- Rule: AtCoder
126
- Start time: 5/22/2022, 02:30:00
127
- End time: 5/22/2022, 04:00:00
128
- https://leetcode.com/contest/weekly-contest-294
95
+ OJ: Codeforces
96
+ Contest name: Codeforces Round #794 (Div. 2)
97
+ Rule: Codeforces
98
+ Start time: 5/25/2022, 17:35:00
99
+ End time: 5/25/2022, 19:50:00
100
+ https://codeforces.com/contests/1686
129
101
  ```
130
102
 
131
103
  </details>
@@ -136,28 +108,7 @@ https://leetcode.com/contest/weekly-contest-294
136
108
  ```text
137
109
  No running contests
138
110
 
139
- There are 6 contests on Codeforces,AtCoder in the next 7 days
140
-
141
- OJ: Codeforces
142
- Contest name: Codeforces Round #792 (Div. 1 + Div. 2)
143
- Rule: Codeforces
144
- Start time: 5/19/2022, 14:35:00
145
- End time: 5/19/2022, 16:35:00
146
- https://codeforces.com/contests/1684
147
-
148
- OJ: AtCoder
149
- Contest name: Ⓐ AtCoder Beginner Contest 252
150
- Rule: AtCoder
151
- Start time: 5/21/2022, 12:00:00
152
- End time: 5/21/2022, 13:40:00
153
- https://atcoder.jp/contests/abc252
154
-
155
- OJ: Codeforces
156
- Contest name: Codeforces Round #793 (Div. 2)
157
- Rule: Codeforces
158
- Start time: 5/22/2022, 14:35:00
159
- End time: 5/22/2022, 16:35:00
160
- https://codeforces.com/contests/1682
111
+ There are 4 contests on Codeforces,AtCoder in the next 7 days
161
112
 
162
113
  OJ: Codeforces
163
114
  Contest name: Educational Codeforces Round 129 (Rated for Div. 2)
@@ -170,15 +121,22 @@ OJ: Codeforces
170
121
  Contest name: Codeforces Round #794 (Div. 1)
171
122
  Rule: Codeforces
172
123
  Start time: 5/25/2022, 17:35:00
173
- End time: 5/25/2022, 19:35:00
124
+ End time: 5/25/2022, 19:50:00
174
125
  https://codeforces.com/contests/1685
175
126
 
176
127
  OJ: Codeforces
177
128
  Contest name: Codeforces Round #794 (Div. 2)
178
129
  Rule: Codeforces
179
130
  Start time: 5/25/2022, 17:35:00
180
- End time: 5/25/2022, 19:35:00
131
+ End time: 5/25/2022, 19:50:00
181
132
  https://codeforces.com/contests/1686
133
+
134
+ OJ: AtCoder
135
+ Contest name: Ⓗ AtCoder Heuristic Contest 011
136
+ Rule: AtCoder
137
+ Start time: 5/28/2022, 03:00:00
138
+ End time: 6/5/2022, 10:00:00
139
+ https://atcoder.jp/contests/ahc011
182
140
  ```
183
141
 
184
142
  </details>
@@ -192,18 +150,18 @@ https://codeforces.com/contests/1686
192
150
  "upcoming": [
193
151
  {
194
152
  "ojName": "AtCoder",
195
- "name": " AtCoder Beginner Contest 252",
153
+ "name": " AtCoder Heuristic Contest 011",
196
154
  "rule": "AtCoder",
197
- "startTime": "2022-05-21T12:00:00.000Z",
198
- "endTime": "2022-05-21T13:40:00.000Z",
199
- "url": "https://atcoder.jp/contests/abc252"
155
+ "startTime": "2022-05-28T03:00:00.000Z",
156
+ "endTime": "2022-06-05T10:00:00.000Z",
157
+ "url": "https://atcoder.jp/contests/ahc011"
200
158
  },
201
159
  {
202
160
  "ojName": "Codeforces",
203
161
  "name": "Codeforces Round #794 (Div. 1)",
204
162
  "rule": "Codeforces",
205
163
  "startTime": "2022-05-25T17:35:00.000Z",
206
- "endTime": "2022-05-25T19:35:00.000Z",
164
+ "endTime": "2022-05-25T19:50:00.000Z",
207
165
  "url": "https://codeforces.com/contests/1685"
208
166
  },
209
167
  {
@@ -211,7 +169,7 @@ https://codeforces.com/contests/1686
211
169
  "name": "Codeforces Round #794 (Div. 2)",
212
170
  "rule": "Codeforces",
213
171
  "startTime": "2022-05-25T17:35:00.000Z",
214
- "endTime": "2022-05-25T19:35:00.000Z",
172
+ "endTime": "2022-05-25T19:50:00.000Z",
215
173
  "url": "https://codeforces.com/contests/1686"
216
174
  },
217
175
  {
@@ -221,22 +179,6 @@ https://codeforces.com/contests/1686
221
179
  "startTime": "2022-05-23T14:35:00.000Z",
222
180
  "endTime": "2022-05-23T16:35:00.000Z",
223
181
  "url": "https://codeforces.com/contests/1681"
224
- },
225
- {
226
- "ojName": "Codeforces",
227
- "name": "Codeforces Round #793 (Div. 2)",
228
- "rule": "Codeforces",
229
- "startTime": "2022-05-22T14:35:00.000Z",
230
- "endTime": "2022-05-22T16:35:00.000Z",
231
- "url": "https://codeforces.com/contests/1682"
232
- },
233
- {
234
- "ojName": "Codeforces",
235
- "name": "Codeforces Round #792 (Div. 1 + Div. 2)",
236
- "rule": "Codeforces",
237
- "startTime": "2022-05-19T14:35:00.000Z",
238
- "endTime": "2022-05-19T16:35:00.000Z",
239
- "url": "https://codeforces.com/contests/1684"
240
182
  }
241
183
  ]
242
184
  }
@@ -55,12 +55,13 @@ exports.at = {
55
55
  url: ""
56
56
  };
57
57
  $("td", this).each(function (idx) {
58
+ var _a;
58
59
  if (idx == 0)
59
60
  ct.startTime = new Date($(this).text());
60
61
  else if (idx == 1) {
61
62
  const ele = $("a", this);
62
63
  ct.name = `${$("span:first", this).text()} ${ele.text()}`;
63
- ct.url = `https://atcoder.jp${ele.attr().href}`;
64
+ ct.url = `https://atcoder.jp${(_a = ele.attr()) === null || _a === void 0 ? void 0 : _a.href}`;
64
65
  }
65
66
  else if (idx == 2) {
66
67
  const [h, m] = $(this).text().split(":");
@@ -1 +1 @@
1
- {"version":3,"file":"atcoder.js","sourceRoot":"","sources":["../../../src/lib/oj/atcoder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,iDAAmC;AAItB,QAAA,EAAE,GAAO;IAClB,IAAI,EAAE,SAAS;IACT,GAAG;;YAEL,MAAM,QAAQ,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;YAChE,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACtC,MAAM,QAAQ,GAAc,EAAE,CAAC;YAC/B,CAAC,CAAC,kEAAkE,CAAC,CAAC,IAAI,CAAC;gBAEvE,MAAM,EAAE,GAAY;oBAChB,MAAM,EAAE,UAAE,CAAC,IAAI;oBACf,IAAI,EAAE,EAAE;oBACR,IAAI,EAAE,SAAS;oBACf,SAAS,EAAE,IAAI,IAAI,CAAC,CAAC,CAAC;oBACtB,OAAO,EAAE,IAAI,IAAI,CAAC,CAAC,CAAC;oBACpB,GAAG,EAAE,EAAE;iBACV,CAAC;gBACF,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG;oBAE5B,IAAG,GAAG,IAAI,CAAC;wBAAE,EAAE,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;yBAChD,IAAG,GAAG,IAAI,CAAC,EAChB;wBACI,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;wBACzB,EAAE,CAAC,IAAI,GAAG,GAAG,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QAAQ,CAAC;QACpB,CAAC;KAAA;CACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lscontests",
3
- "version": "1.11.2",
3
+ "version": "1.11.3",
4
4
  "description": "A tool to get information about the contests on each OJ",
5
5
  "keywords": [
6
6
  "cli",