
FParse
Under maintenance
Pricing
Pay per usage
Go to Store

FParse
Under maintenance
Twitter parse for some accs
0.0 (0)
Pricing
Pay per usage
1
Total users
7
Monthly users
1
Runs succeeded
0%
Last modified
2 years ago
.actor/Dockerfile
# Specify the base Docker image. You can read more about# the available images at https://sdk.apify.com/docs/guides/docker-images# You can also use any other image from Docker Hub.FROM apify/actor-node:16
# Copy just package.json and package-lock.json# to speed up the build using Docker layer cache.COPY package*.json ./
# Install NPM packages, skip optional and development dependencies to# keep the image small. Avoid logging too much and print the dependency# tree for debuggingRUN npm --quiet set progress=false \ && npm install --omit=dev --omit=optional \ && echo "Installed NPM packages:" \ && (npm list --omit=dev --all || true) \ && echo "Node.js version:" \ && node --version \ && echo "NPM version:" \ && npm --version \ && rm -r ~/.npm
# Next, copy the remaining files and directories with the source code.# Since we do this after NPM install, quick build will be really fast# for most source file changes.COPY . ./
# Run the image.CMD npm start --silent
.actor/INPUT_SCHEMA.json
{ "title": "Input schema for the empty project actor.", "type": "object", "schemaVersion": 1, "properties": { "test": { "title": "Test", "type": "string", "description": "This is test input field description.", "editor": "textfield" } }, "required": []}
.actor/README.md
1# Empty project2
3This template is useful when you're already familiar with the [Apify SDK](https://sdk.apify.com) and [Crawlee](https://crawlee.dev) and want to start with a clean slate. It does not include `puppeteer` or `playwright` so install them manually and update the Dockerfile if you need them.4
5> We decided to split Apify SDK into two libraries, [Crawlee](https://crawlee.dev) and [Apify SDK v3](https://sdk.apify.com). Crawlee will retain all the crawling and scraping-related tools and will always strive to be the best web scraping library for its community. At the same time, Apify SDK will continue to exist, but keep only the Apify-specific features related to building actors on the Apify platform. Read the [upgrading guide](https://sdk.apify.com/docs/upgrading/upgrading-to-v3) to learn about the changes.6
7If you're looking for examples or want to learn more visit:8
9- [Crawlee + Apify Platform guide](https://crawlee.dev/docs/guides/apify-platform)10- [Crawlee Tutorial](https://crawlee.dev/docs/introduction)11- [Crawlee Examples](https://crawlee.dev/docs/examples)12
13## Documentation reference14
15- [Crawlee](https://crawlee.dev)16- [Apify SDK v3](https://sdk.apify.com)17- [Apify Actor documentation](https://docs.apify.com/actor)18- [Apify CLI](https://docs.apify.com/cli)19
20## Writing a README21
22See our tutorial on [writing READMEs for your actors](https://help.apify.com/en/articles/2912548-how-to-write-great-readme-for-your-actors) if you need more inspiration.
.dockerignore
# configurations.idea
# crawlee and apify storage foldersapify_storagecrawlee_storagestorage
# installed filesnode_modules
# git folder.git
.editorconfig
root = true
[*]indent_style = spaceindent_size = 4charset = utf-8trim_trailing_whitespace = trueinsert_final_newline = trueend_of_line = lf
.eslintrc
{ "extends": "@apify", "root": true}
.gitignore
# This file tells Git which files shouldn't be added to source control
.DS_Store.ideanode_modulesstorage
main.js
1// This is the main Node.js source code file of your actor.2// An actor is a program that takes an input and produces an output.3
4// For more information, see https://sdk.apify.com5import {Actor} from 'apify';6import fetch from 'node-fetch';7import fs from 'fs';8//import unzipper from 'unzipper';9
10
11
12// For more information, see https://crawlee.dev13// import { CheerioCrawler } from 'crawlee';14
15// Initialize the Apify SDK16await Actor.init();17
18// Get input of the actor (here only for demonstration purposes).19const input = await Actor.getInput();20console.log('Input:',input);21
22/**23 * Actor code24 */25
26// await fetch('https://api.apify.com/v2/actor-runs/lbyRFnTZNqimaEFjA/abort?token=apify_api_eRPmlLty4NNJHgs7kC0nCON6fTcsiv0PEIqV',{27// method:'POST',28// headers:{29// 'Content-type':'application/json'30// }31// });32 33const result= await fetch('https://api.apify.com/v2/datasets/0alBN9Q4C8XvzEcOv/items?clean=true&format=json')34.then(r=>r.json());35console.log('debug',result)36await fetch('http://62.216.33.167:21005/api/testCol',{37 method:'POST',38 headers:{39 'Content-type':'application/json'40 },41 body: JSON.stringify({data:result})42}).then(()=>{console.log('Done')});43//const unresult= unzipper.Extract(result);44console.log('result is',result.length);45// Exit successfully46await Actor.exit();
package.json
{ "name": "project-empty", "version": "0.0.1", "type": "module", "description": "This is a boilerplate of an Apify actor.", "engines": { "node": ">=16.0.0" }, "dependencies": { "apify": "^3.0.0", "crawlee": "^3.0.0", "node-fetch":"3.3.0", "unzipper":"0.10.11" }, "devDependencies": { "@apify/eslint-config": "^0.3.1", "eslint": "^8.20.0" }, "scripts": { "start": "node main.js", "lint": "./node_modules/.bin/eslint ./src --ext .js,.jsx", "lint:fix": "./node_modules/.bin/eslint ./src --ext .js,.jsx --fix", "test": "echo \"Error: oops, the actor has no tests yet, sad!\" && exit 1" }, "author": "It's not you it's me", "license": "ISC"}