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