Spaces:
Paused
Paused
Mohammed Foud commited on
Commit ·
a10e794
1
Parent(s): 9c3fa19
Fix some Bugs and add some Feathers
Browse files- src/index.ts +1 -1
- src/webook/login.ts +2 -2
src/index.ts
CHANGED
|
@@ -42,4 +42,4 @@ startServer();
|
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
-
handleAddTelegrafBot("1e186256-fdd6-453f-8344-fd824660b8bd")
|
|
|
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
+
// handleAddTelegrafBot("1e186256-fdd6-453f-8344-fd824660b8bd")
|
src/webook/login.ts
CHANGED
|
@@ -64,8 +64,8 @@ export class WeBookLogin extends WeBookBase {
|
|
| 64 |
if (!this.page) throw new Error('Page not initialized');
|
| 65 |
try {
|
| 66 |
|
| 67 |
-
await this.page.goto('https://webook.com/en');
|
| 68 |
-
|
| 69 |
await this.handleCookies();
|
| 70 |
|
| 71 |
|
|
|
|
| 64 |
if (!this.page) throw new Error('Page not initialized');
|
| 65 |
try {
|
| 66 |
|
| 67 |
+
// await this.page.goto('https://webook.com/en');
|
| 68 |
+
await this.page.goto('https://webook.com/en', { waitUntil: 'networkidle' });
|
| 69 |
await this.handleCookies();
|
| 70 |
|
| 71 |
|