kopia lustrzana https://github.com/learn-awesome/learndb
adding node-fetch
rodzic
fe353adc01
commit
81175f245b
|
@ -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 = require('node-fetch').default;
|
const fetch = require('node-fetch');//.default;
|
||||||
// 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
|
||||||
|
|
Ładowanie…
Reference in New Issue