kopia lustrzana https://github.com/learn-awesome/learndb
request node-fetch
rodzic
ccf5ced811
commit
90e0f02440
|
@ -1,7 +1,7 @@
|
|||
const https = require('https'); // Import for webscraping (fetchContentFromURL(url) function
|
||||
// const axios = require('axios');
|
||||
const fetch = require('node-fetch').default;
|
||||
// const fetch = request('node-fetch').default;
|
||||
// const fetch = require('node-fetch').default;
|
||||
const fetch = request('node-fetch').default;
|
||||
|
||||
// Placeholder function to fetch content from URL using a web scraping service
|
||||
async function fetchContentFromURL(url) {
|
||||
|
|
Ładowanie…
Reference in New Issue