$echo '{
< "startUrls": [
< {
< "url": "https://news.ycombinator.com/"
< }
< ],
< "instructions": "Gets the post with the most points from the page and returns it as JSON in this format: \\npostTitle\\npostUrl\\npointsCount",
< "includeUrlGlobs": [],
< "excludeUrlGlobs": [],
< "linkSelector": "a[href]",
< "initialCookies": [],
< "proxyConfiguration": {
< "useApifyProxy": true
< },
< "targetSelector": "",
< "removeElementsCssSelector": "script, style, noscript, path, svg, xlink",
< "schema": {
< "type": "object",
< "properties": {
< "title": {
< "type": "string",
< "description": "Page title"
< },
< "description": {
< "type": "string",
< "description": "Page description"
< }
< },
< "required": [
< "title",
< "description"
< ]
< },
< "schemaDescription": ""
<}' |
<apify call drobnikj/gpt-scraper --silent --output-dataset