MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / getDefaultSort

Method getDefaultSort

js/botasaurus-server-js/src/server.ts:582–584  ·  view source on GitHub ↗
(scraperName: string)

Source from the content-addressed store, hash-verified

580 }
581
582 getDefaultSort(scraperName: string): string {
583 return this.scrapers[scraperName].default_sort;
584 }
585
586 getSortIds(scraperName: string): string[] {
587 return this.getSorts(scraperName).map((s) => s.id);

Callers 3

executeGetTaskResultsFunction · 0.80
executeTaskResultsFunction · 0.80
executeGetUiTaskResultsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected