Spaces:
Sleeping
Sleeping
Update app.js
Browse files
app.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
|
| 7 |
const app = express();
|
| 8 |
app.use(express.json());
|
|
@@ -309,4 +309,4 @@ app.listen(PORT, () => {
|
|
| 309 |
console.log('='.repeat(50) + '\n');
|
| 310 |
});
|
| 311 |
|
| 312 |
-
|
|
|
|
| 1 |
+
import express from 'express';
|
| 2 |
+
import axios from 'axios';
|
| 3 |
+
import * as cheerio from 'cheerio';
|
| 4 |
+
import tough from 'tough-cookie';
|
| 5 |
+
import { wrapper } from 'axios-cookiejar-support';
|
| 6 |
|
| 7 |
const app = express();
|
| 8 |
app.use(express.json());
|
|
|
|
| 309 |
console.log('='.repeat(50) + '\n');
|
| 310 |
});
|
| 311 |
|
| 312 |
+
export default app;
|