@letsscrapedata/scraper 0.0.84 → 0.0.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -227,11 +227,6 @@ interface ScraperConfig {
227
227
  * @default "jsonl"
228
228
  */
229
229
  dataFileFormat?: DataFileFormat;
230
- /**
231
- * valid only when dataFileFormat is "jsonl"
232
- * @default true
233
- */
234
- useNickName?: boolean;
235
230
  /**
236
231
  * valid only when dataFileFormat is "txt"
237
232
  * @default "::"
@@ -241,7 +236,7 @@ interface ScraperConfig {
241
236
 
242
237
  declare function setScraperLogFun(logFun: LogFunction): boolean;
243
238
 
244
- declare function performOneTask(templateId: number, parasStr: string, taskNetworkContext: TaskNetworkContext, taskType?: TaskType, xmlStr?: string, taskId?: number, useNickName?: boolean): Promise<TaskResult>;
239
+ declare function performOneTask(templateId: number, parasStr: string, taskNetworkContext: TaskNetworkContext, taskType?: TaskType, xmlStr?: string, taskId?: number): Promise<TaskResult>;
245
240
 
246
241
  declare function updateScraperConfig(config: ScraperConfig): Promise<boolean>;
247
242
  declare function scraper(newTasks?: TemplateTasks[], config?: ScraperConfig): Promise<boolean>;
package/dist/index.d.ts CHANGED
@@ -227,11 +227,6 @@ interface ScraperConfig {
227
227
  * @default "jsonl"
228
228
  */
229
229
  dataFileFormat?: DataFileFormat;
230
- /**
231
- * valid only when dataFileFormat is "jsonl"
232
- * @default true
233
- */
234
- useNickName?: boolean;
235
230
  /**
236
231
  * valid only when dataFileFormat is "txt"
237
232
  * @default "::"
@@ -241,7 +236,7 @@ interface ScraperConfig {
241
236
 
242
237
  declare function setScraperLogFun(logFun: LogFunction): boolean;
243
238
 
244
- declare function performOneTask(templateId: number, parasStr: string, taskNetworkContext: TaskNetworkContext, taskType?: TaskType, xmlStr?: string, taskId?: number, useNickName?: boolean): Promise<TaskResult>;
239
+ declare function performOneTask(templateId: number, parasStr: string, taskNetworkContext: TaskNetworkContext, taskType?: TaskType, xmlStr?: string, taskId?: number): Promise<TaskResult>;
245
240
 
246
241
  declare function updateScraperConfig(config: ScraperConfig): Promise<boolean>;
247
242
  declare function scraper(newTasks?: TemplateTasks[], config?: ScraperConfig): Promise<boolean>;