javascript - 整个网站的 fs.createWriteStream 替代品?
问题描述
是否有替代方法fs.createWriteStream
可以检查整个页面而不是网站上的文件/目录?因为 this:fs.createWriteStream('https://discordapp.com/channels/000/000', function(err, data) {
返回没有找到目录或文件,但我希望能够在页面上搜索单词。
https.get('https://discordapp.com/channels/000/000', function (err, data) {
返回:
/home/pi/Desktop/Discord_bots/my-bot/index.js:214
if (err) throw err;
^
[object Object]
解决方案
推荐阅读
- asp.net-mvc - 在Vue中获取选择列表的选定值
- sql - 如何编写 SQL 脚本来查找与原始 ID 相关的所有关系?
- wordpress - 如何使我的 Wordpress 网站免受访客访问
- amazon-s3 - 以 parquet 格式将 json 数据从 kafka 写入 s3
- recursion - 从列表中删除第二次出现的给定项目 - 球拍
- python - 矩阵:仅在 numpy 数组的对角线位置放置负值
- testing - 通过 Bootstrap 配置 Netty EmbeddedChannel 的方法?
- highcharts - Highcharts React Wrapper 的问题:获取 Highcharts 错误 #18 但传递给普通 Highcharts Js 的相同选项工作正常
- c# - 无法在 ASP.NET MVC-C# 的级联下拉列表中获取 Chil 表列表
- awk - AWK如何在awk中的特定步骤中更改行?