我正在尝试使用 Google App Script 通过将搜索词设为变量来更改 Apify Google Search Scraper 中的搜索查询。https://apify.com/apify/google-search-scraper
我想看看我是否可以通过它的代码引用它。https://github.com/apifytech/actor-google-search-scraper/blob/master/src/main.js
我得到这个
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" class="__meteor-css__" href="https://cdn.apify.com/35dedb64425e459215b6d9b580601d18eccb1d29.css?meteor_css_resource=true">
<meta charset="utf-8" />
<title>My Apify</title>
<meta name="description" content="Apify (formerly Apifier) is the world’s most advanced web scraping and automation platform. Turn any website into an API in a few minutes." />
<meta name="copyright" content="Copyright© 2018 Apify Technologies s.r.o. All rights reserved." />
<meta name="keywords" content="web scraper, web crawler, data extraction, API" />
<meta name="robots" content="index, follow" />
<meta name="referrer" content="origin" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
</body>
</html>
我的代码
function runSearch() {
var formData = {
initialRequests : 'banks in phoenix',
};
var options = {
'method' : 'post',
'payload' : formData
};
const test = UrlFetchApp.fetch('https://my.apify.com/tasks/<my-task-id>', options);
Logger.log(test);
}
我需要改变什么?
PIPIONE
qq_笑_17
相关分类