Update lib/scrapper.js
Browse files- lib/scrapper.js +0 -9
lib/scrapper.js
CHANGED
@@ -28,15 +28,6 @@ const Copilot2Trip = async (query) => {
|
|
28 |
},
|
29 |
});
|
30 |
return AuthorOriginal(response)
|
31 |
-
/*
|
32 |
-
if (typeof response.data === "object") {
|
33 |
-
response.data.author = "xtdevs";
|
34 |
-
return response.data;
|
35 |
-
} else {
|
36 |
-
console.log("the return value was not a json object");
|
37 |
-
return null;
|
38 |
-
}
|
39 |
-
*/
|
40 |
} catch (e) {
|
41 |
console.error("Error:", e.message);
|
42 |
return null;
|
|
|
28 |
},
|
29 |
});
|
30 |
return AuthorOriginal(response)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
} catch (e) {
|
32 |
console.error("Error:", e.message);
|
33 |
return null;
|