Update Scraper Settings V2
Update a scraper's parameters, execution period, and union option.
The applied configuration is returned as settings in the response.
Any of param1~param5, period, or union that is omitted from the request keeps its current value. Use this to update only a subset of fields.
Requests are rejected when the service ticket has expired or available credits are exhausted. In that case the response uses error_message instead of message.
Request Parameters
-
api_key: StringHashScraper API key
-
schedule_id: StringID of the scraper to update.
-
param1: optional StringValue to store as
param1. Omit to keep the current value. -
param2: optional StringValue to store as
param2. Same rules apply. -
param3: optional StringValue to store as
param3. Same rules apply. -
param4: optional StringValue to store as
param4. Same rules apply. -
param5: optional StringValue to store as
param5. Same rules apply. -
period: optional StringCollection period. One of
manual,hour,day. Omit to keep the current value. -
union: optional BooleanUnion option. Must be sent as a JSON Boolean (
true/false); strings are rejected.
Response Fields
-
result: StringRequest outcome.
-
version: StringAPI version.
-
settings: ObjectConfiguration after the update.
-
param1: String | null
param1after the update. -
param2: String | null
param2after the update. -
param3: String | null
param3after the update. -
param4: String | null
param4after the update. -
param5: String | null
param5after the update. -
period: StringCollection period after the update.
-
union: BooleanUnion option after the update.
-
-
elapsed_time: FloatServer-side processing time (seconds, as a numeric value).
Error Responses
-
schedule_id missing
{ "result": "error", "version": "v2", "message": "`schedule_id` parameter is required" } -
Schedule not found
{ "result": "error", "version": "v2", "message": "schedule(id: YOUR_SCHEDULE_ID) not found" } -
Invalid union
{ "result": "error", "version": "v2", "message": "union이 Boolean이 아닙니다. union: ..." } -
Invalid period
{ "result": "error", "version": "v2", "message": "period는 'manual, hour, day' 중에서 입력해 주세요. period: ..." } -
Service ticket expired
{ "result": "error", "version": "v2", "error_message": "서비스 이용권의 기간이 만료되었습니다." } -
Credit exhausted
{ "result": "error", "version": "v2", "error_message": "보유하신 크레딧을 모두 사용하셨습니다." }
Related Guides
Example Request
Optional parameters
Example Response 200
{
"result": "success",
"version": "v2",
"settings": {
"param1": "검색어",
"param2": null,
"param3": null,
"param4": null,
"param5": null,
"period": "manual",
"union": false
},
"elapsed_time": 0.0145
}