MCPcopy Create free account

hub / github.com/omkarcloud/botasaurus / functions

Functions1,906 in github.com/omkarcloud/botasaurus

↓ 2 callersFunctionwriteTempFile
(data: string, log: boolean = true)
js/botasaurus-js/src/output.ts:298
↓ 2 callersFunctionwriteTempHtml
(data: string, log: boolean = true)
js/botasaurus-js/src/output.ts:273
↓ 2 callersFunctionwriteTempJson
(data: any, log: boolean = true)
js/botasaurus-js/src/output.ts:43
↓ 2 callersFunctionwriteWorkbookBase
(filename:string, exec:any)
js/botasaurus-server-js/src/writer.ts:364
↓ 2 callersFunctionwriteWorkbookBase
(rawStream: NodeJS.WritableStream, exec:any)
js/botasaurus-server-js/src/writer-http.ts:105
↓ 2 callersFunctionwrite_csv
Save a list of dictionaries as a CSV file. Args: data: a list of dictionaries filename: the name of the CSV file to sav
botasaurus/output.py:233
↓ 2 callersFunctionwrite_excel
(data, filename, log=True, convert_strings_to_urls=True)
botasaurus/output.py:371
↓ 2 callersFunctionwrite_file
( data, path,)
botasaurus/utils.py:35
↓ 1 callersFunction_applyViewForUiLargeTask
(taskId: number, view: string, views: View[], inputData: any, _per_page: number, start: number, end: number, c
js/botasaurus-server-js/src/views.ts:479
↓ 1 callersFunction_delete_corrupted_cached_items
(file_paths)
botasaurus/cache.py:91
↓ 1 callersFunction_delete_items_by_filter
(func, items, should_delete_item)
botasaurus/cache.py:166
↓ 1 callersFunction_delete_items_by_filter_no_items
(func, should_delete_item)
botasaurus/cache.py:212
↓ 1 callersMethod_ensure_database
Create the database if it doesn't exist.
pg-cache-storage/pg_cache_storage/__init__.py:32
↓ 1 callersMethod_ensure_table
Create cache table if not exists.
sqlite-cache-storage/sqlite_cache_storage/__init__.py:30
↓ 1 callersMethod_ensure_table
Create cache table if not exists.
pg-cache-storage/pg_cache_storage/__init__.py:65
↓ 1 callersMethod_flatten_fields
(self, fields)
botasaurus_server/botasaurus_server/views.py:127
↓ 1 callersMethod_generate_delete_cursor_code
(self)
botasaurus_humancursor/src/botasaurus_humancursor/web_cursor.py:343
↓ 1 callersMethod_generate_update_cursor_position_code
(self, x: int, y: int)
botasaurus_humancursor/src/botasaurus_humancursor/web_cursor.py:311
↓ 1 callersFunction_getNdTask
(id: number, limit?: number|null)
js/botasaurus-server-js/src/task-results.ts:19
↓ 1 callersMethod_get_admin_connection
Connect to postgres database to perform admin operations.
pg-cache-storage/pg_cache_storage/__init__.py:20
↓ 1 callersMethod_get_item_modified_time
Private function to get the timestamp when cache was stored. Returns the modification time of the cache file as a datetime object.
botasaurus/cache.py:376
↓ 1 callersFunction_get_task
(id)
botasaurus_server/botasaurus_server/task_results.py:25
↓ 1 callersFunction_has_0_item
(path)
botasaurus/output.py:525
↓ 1 callersFunction_has_less_than1_item
(path)
botasaurus/output.py:515
↓ 1 callersFunction_hash
( data)
botasaurus/cache.py:50
↓ 1 callersMethod_hash
Generate sha256 hash from data.
sqlite-cache-storage/sqlite_cache_storage/__init__.py:21
↓ 1 callersMethod_hash
Generate sha256 hash from data.
pg-cache-storage/pg_cache_storage/__init__.py:56
↓ 1 callersFunction_isDocker
()
js/botasaurus-js/src/env.ts:5
↓ 1 callersFunction_isMaster
()
js/botasaurus-js/src/env.ts:32
↓ 1 callersFunction_isMaster
()
js/botasaurus-server-js/src/env.ts:3
↓ 1 callersFunction_isWorker
()
js/botasaurus-js/src/env.ts:37
↓ 1 callersFunction_isWorker
()
js/botasaurus-server-js/src/env.ts:8
↓ 1 callersFunction_is_docker
()
botasaurus/env.py:5
↓ 1 callersFunction_is_docker
()
botasaurus_server/botasaurus_server/env.py:6
↓ 1 callersFunction_load_cache
Loads the IP details cache from a file.
botasaurus/ip_utils.py:39
↓ 1 callersFunction_readJsonFiles
(filePaths: string[])
js/botasaurus-js/src/cache.ts:61
↓ 1 callersFunction_read_json_files_dict
(file_paths)
botasaurus_server/botasaurus_server/task_results.py:48
↓ 1 callersFunction_save_cache
Saves the IP details cache to a file.
botasaurus/ip_utils.py:44
↓ 1 callersFunction_search
(data, keys, current_depth)
botasaurus/cl.py:81
↓ 1 callersFunctionaa
()
botasaurus_server/botasaurus_server/retry_on_db_error.py:88
↓ 1 callersMethodabortChildTasks
(taskId: number)
js/botasaurus-server-js/src/task-helper.ts:688
↓ 1 callersFunctionabortSingleTask
(taskId: number)
js/botasaurus-server-js/src/task-routes.ts:68
↓ 1 callersFunctionabortTask
( taskId: number, is_all_task: boolean, parentId: number | null, removeDuplicatesBy: any, )
js/botasaurus-server-js/src/routes-db-logic.ts:1080
↓ 1 callersMethodabort_child_tasks
(session, task_id)
botasaurus_server/botasaurus_server/task_helper.py:151
↓ 1 callersFunctionabort_task
(task_id, is_all_task, parent_id, remove_duplicates_by)
botasaurus_server/botasaurus_server/routes_db_logic.py:809
↓ 1 callersFunctionaddJitter
* Add random jitter to delay (0-10% of current delay)
js/botasaurus-server-js/src/worker-executor.ts:74
↓ 1 callersMethodaddScraper
( scraper:Function, { productName = null, getTaskName, createAllTask = false, spli
js/botasaurus-server-js/src/server.ts:246
↓ 1 callersFunctionaddScraperRoutes
(app: FastifyInstance, apiBasePath: string)
js/botasaurus-server-js/src/api-config.ts:113
↓ 1 callersMethodaddToAbortCheck
* Adds a task to the abortion check set and starts the shared interval if not running.
js/botasaurus-server-js/src/task-executor.ts:356
↓ 1 callersFunctionadd_cors_headers_download
(headers)
botasaurus_server/botasaurus_server/errors.py:11
↓ 1 callersFunctionappendNdJson
(data: any[], taskPath: string)
js/botasaurus-server-js/src/ndjson.ts:180
↓ 1 callersMethodappend_all_task
(id, data)
botasaurus_server/botasaurus_server/task_results.py:146
↓ 1 callersMethodapply
(self, data)
botasaurus_server/botasaurus_server/sorts.py:223
↓ 1 callersFunctionapplyTransformer
(data: any, transformer: (text: string) => string | null)
js/botasaurus-server-js/src/convert-to-english.ts:13
↓ 1 callersFunctionapplyTransformer
Apply a transformer function to all strings in a nested data structure. :param data: The data structure (dict, list, nested dicts) to tra
botasaurus/string_utils.py:3
↓ 1 callersFunctionapplyTransformer
Apply a transformer function to all strings in a nested data structure. :param data: The data structure (dict, list, nested dicts) to tra
botasaurus_server/botasaurus_server/convert_to_english.py:14
↓ 1 callersMethodapply_in_place
(self, data: list)
botasaurus_server/botasaurus_server/sorts.py:36
↓ 1 callersFunctionapply_pagination
Paginate the data based on page and per_page, providing detailed pagination information. :param data: The list of items to paginate.
botasaurus_server/botasaurus_server/apply_pagination.py:1
↓ 1 callersFunctionasteriskText
(inp)
botasaurus/string_utils.py:24
↓ 1 callersMethodbernstein_polynomial
Given list of control points, returns a function, which given a point [0,1] returns a point in the Bézier curve described by these po
botasaurus_humancursor/src/botasaurus_humancursor/human_curve_generator.py:170
↓ 1 callersMethodbernstein_polynomial_point
Calculate the i-th component of a bernstein polynomial of degree n
botasaurus_humancursor/src/botasaurus_humancursor/human_curve_generator.py:165
↓ 1 callersMethodbinomial
Returns the binomial coefficient "n choose k"
botasaurus_humancursor/src/botasaurus_humancursor/human_curve_generator.py:160
↓ 1 callersFunctionbuildApp
( scrapers: any[], apiBasePath: string, routeAliases: any, enable_cache: boolean )
js/botasaurus-server-js/src/api-config.ts:470
↓ 1 callersFunctionbulkAbortTasks
(jsonData: any)
js/botasaurus-server-js/src/task-routes.ts:83
↓ 1 callersFunctionbulkDeleteTasks
(jsonData: any)
js/botasaurus-server-js/src/task-routes.ts:93
↓ 1 callersFunctionbulkRetryTasks
(jsonData: any)
js/botasaurus-server-js/src/task-routes.ts:103
↓ 1 callersFunctioncalculateDuration
(obj: Task)
js/botasaurus-server-js/src/models.ts:112
↓ 1 callersFunctioncalculate_absolute_offset
Calculates the absolute offset based on relative position
botasaurus_humancursor/src/botasaurus_humancursor/calculate_and_randomize.py:6
↓ 1 callersFunctioncalculate_duration
(obj)
botasaurus_server/botasaurus_server/models.py:37
↓ 1 callersMethodcalculate_max_capacity
(self)
botasaurus_server/botasaurus_server/master_executor.py:40
↓ 1 callersMethodcalculate_points_in_curve
Given list of control points, returns n points in the Bézier curve, described by these points
botasaurus_humancursor/src/botasaurus_humancursor/human_curve_generator.py:188
↓ 1 callersFunctioncalculate_step_count
Calculate the ideal number of steps for a drag operation based on distance. Args: distance: The pixel distance between origin an
botasaurus_humancursor/src/botasaurus_humancursor/calculate_and_randomize.py:114
↓ 1 callersFunctioncamelcase
Convert a string into camelCase. Args: string (:obj:`str`): The string to convert to camelCase. Returns:
botasaurus/cl.py:38
↓ 1 callersMethodcheckAllTasksAbortion
* Checks abortion status for all tasks in the set. * Called by the shared interval.
js/botasaurus-server-js/src/task-executor.ts:387
↓ 1 callersFunctioncheckChrome
()
js/botasaurus-server-js/src/routes-db-logic.ts:339
↓ 1 callersFunctioncleanBasePath
(apiBasePath: string | null | undefined)
js/botasaurus-desktop-api/src/index.ts:72
↓ 1 callersFunctioncleanErrorLogs
(errorLogsDir: string, sortKey: (folder: string) => Date)
js/botasaurus-js/src/decorators-common.ts:73
↓ 1 callersFunctioncleanResultsForLargeTask
( scraper_name: string, taskId: number, inputData: any, view: any, page: number, per_p
js/botasaurus-server-js/src/routes-db-logic.ts:758
↓ 1 callersFunctionclean_base_path
(api_base_path)
bota/src/bota/vm.py:764
↓ 1 callersFunctionclean_database_url
(url)
botasaurus_server/botasaurus_server/db_setup.py:33
↓ 1 callersFunctionclean_error_logs
(error_logs_dir, sort_key)
botasaurus/decorators_common.py:217
↓ 1 callersFunctionclean_robots_txt_url
(url)
botasaurus/sitemap_parser_utils.py:134
↓ 1 callersFunctionclean_sitemap_url
(url)
botasaurus/sitemap_parser_utils.py:137
↓ 1 callersFunctionclean_url
Returns true if URL is of the "http" ("https") scheme. :param url: URL to test. :return: True if argument URL is of the "http" ("https")
botasaurus/sitemap_parser_utils.py:140
↓ 1 callersFunctioncli
Botasaurus CLI
bota/src/bota/__main__.py:12
↓ 1 callersMethodclick
Moves to element or coordinates with human curve, and clicks on it a specified number of times, default is 1 Args: skip_m
botasaurus_humancursor/src/botasaurus_humancursor/web_cursor.py:57
↓ 1 callersMethodcloneTaskFromCacheKey
(id: number, cache_key: string)
js/botasaurus-server-js/src/task-results.ts:128
↓ 1 callersFunctioncloseAllChromes
()
js/botasaurus-js/src/on-close.ts:2
↓ 1 callersFunctionclose_all_chrome_browsers
()
close_chrome/src/close_chrome/__main__.py:4
↓ 1 callersMethodcompleteAsMuchAllTaskAsPossible
( parentId: number, removeDuplicatesBy: string | null )
js/botasaurus-server-js/src/task-executor.ts:738
↓ 1 callersMethodcompleteParentTaskIfPossible
( parentId: number, removeDuplicatesBy: string | null, result: any[] )
js/botasaurus-server-js/src/task-executor.ts:674
↓ 1 callersMethodcompleteParentTaskIfPossibleStreaming
* Streams child task results to parent and completes parent if all children done.
js/botasaurus-server-js/src/task-executor.ts:693
↓ 1 callersMethodcompletePendingButCompletedAllTask
()
js/botasaurus-server-js/src/task-executor.ts:132
↓ 1 callersMethodcomplete_as_much_all_task_as_possible
(self, parent_id, remove_duplicates_by)
botasaurus_server/botasaurus_server/task_executor.py:236
↓ 1 callersMethodcomplete_parent_task_if_possible
(self, parent_id, remove_duplicates_by, result)
botasaurus_server/botasaurus_server/task_executor.py:211
↓ 1 callersFunctioncomputeItemDetails
(cache_key: string )
js/botasaurus-server-js/src/task-results.ts:39
↓ 1 callersFunctioncompute_hash
(content)
botasaurus_server/botasaurus_server/server.py:14
↓ 1 callersFunctionconvertNestedItemToJsonForExcel
(item: any)
js/botasaurus-js/src/output.ts:170
↓ 1 callersFunctionconvertNestedToJson
(inputList: any[])
js/botasaurus-js/src/output.ts:140
↓ 1 callersFunctionconvertNestedToJsonForExcel
(inputList: any[])
js/botasaurus-js/src/output.ts:183
← previousnext →601–700 of 1,906, ranked by callers