forked from gippy/instagram-scraper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
INPUT_SCHEMA.json
67 lines (67 loc) · 2.96 KB
/
INPUT_SCHEMA.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"title": "Input schema for Instagram scraper",
"description": "This scraper takes the provided Instagram URLs or search results and attempts to scrape Instagram posts, comments or detailed information from each of URL. It's able to scrape posts from user profiles, hashtags and places. Comments from posts and detailed information about all of these. <br/> <strong>Important: Proxy is required to use this solution</strong>",
"type": "object",
"schemaVersion": 1,
"properties": {
"search": {
"title": "Search",
"type": "string",
"description": "What to query to search Instagram for",
"editor": "textfield"
},
"searchType": {
"title": "Search type",
"type": "string",
"description": "What to type of items to search (you can search hashtags, profiles and places)",
"editor": "select",
"enum": ["user", "hashtag", "place"],
"enumTitles": ["Search users", "Search hashtags", "Search places"],
"default": "hashtag"
},
"searchLimit": {
"title": "Search results limit",
"type": "integer",
"description": "How many search results (eq. pages) should be processed",
"editor": "number",
"default": 10,
"minimum": 1,
"maximum": 100
},
"directUrls": {
"title": "Instagram URLs",
"type": "array",
"description": "From which pages should posts/comments/details be loaded. Provide complete url to the profile, hashtag, place or post.",
"editor": "stringList",
"placeholderValue": "URL",
"patternValue": "https:\\/\\/www\\.instagram\\.com\\/.+",
"uniqueItems": true,
"prefill": ["https://www.instagram.com/explore/tags/nature/"]
},
"resultsType": {
"title": "Which data to scrape",
"type": "string",
"description": "What to scrape from each Instagram URL or search result",
"editor": "select",
"enum": ["posts", "comments", "details"],
"enumTitles": ["Posts", "Comments", "Details"],
"default": "posts"
},
"resultsLimit": {
"title": "Max items",
"type": "integer",
"description": "How many posts or comments to scrape from each Instagram URL or found page, ignored when \"Details\" type is specified",
"editor": "number",
"unit": "per page",
"default": 200
},
"proxy": {
"title": "Proxy configuration",
"type": "object",
"description": "<strong>Proxy is required to run this actor!</strong> Either use Apify proxy, or provide your own proxy servers.",
"prefill": { "useApifyProxy": true, "apifyProxyGroups": [] },
"editor": "proxy"
}
},
"required": ["resultsType", "proxy"]
}