ghostcrawl 2.2.3__tar.gz → 2.3.1__tar.gz
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.
Potentially problematic release.
This version of ghostcrawl might be problematic. Click here for more details.
- ghostcrawl-2.3.1/LICENSE +21 -0
- ghostcrawl-2.3.1/PKG-INFO +294 -0
- ghostcrawl-2.3.1/README.md +259 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/v1_request_builder.py +0 -10
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/__init__.py +13 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/cli/main.py +1 -1
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/facade.py +355 -3
- ghostcrawl-2.3.1/ghostcrawl.egg-info/PKG-INFO +294 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl.egg-info/SOURCES.txt +0 -2
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/pyproject.toml +3 -3
- ghostcrawl-2.2.3/LICENSE +0 -46
- ghostcrawl-2.2.3/PKG-INFO +0 -195
- ghostcrawl-2.2.3/README.md +0 -160
- ghostcrawl-2.2.3/_generated/v1/binary/binary_request_builder.py +0 -33
- ghostcrawl-2.2.3/_generated/v1/binary/download/download_request_builder.py +0 -88
- ghostcrawl-2.2.3/ghostcrawl.egg-info/PKG-INFO +0 -195
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/MANIFEST.in +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/ghostcrawl_client.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_actor_ip.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_actor_ip_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_actor_token_id.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_actor_token_id_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_actor_user_agent.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_actor_user_agent_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_actor_user_id.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_actor_user_id_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_metadata.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_org_id.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_org_id_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_target_id.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_target_id_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_target_kind.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_event_out_target_kind_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_events_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_events_response_next_cursor.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/audit_events_response_next_cursor_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_behavior_actions.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_behavior_actions_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_behavior_actions_member2.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_extraction_strategy.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_extraction_strategy_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_identity_country.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_identity_country_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_language.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_language_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_output_format.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_profile.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/batch_scrape_request_profile_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cdp_frame_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cdp_url_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/checkout_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/contact_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_domain.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_domain_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_expires.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_expires_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_http_only.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_http_only_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_path.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_path_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_same_site.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_same_site_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_secure.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_secure_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_url.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookie_dict_url_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookies_delete_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookies_delete_body_domain.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookies_delete_body_domain_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookies_delete_body_name.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookies_delete_body_name_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookies_delete_body_path.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookies_delete_body_path_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/cookies_set_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/deep_crawl_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/deep_crawl_body_webhook_url.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/deep_crawl_body_webhook_url_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/dom_snapshot_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/download_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/error_code.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/eval_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extend_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extend_body_ttl_seconds.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extend_body_ttl_seconds_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_behavior_actions.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_behavior_actions_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_behavior_actions_member2.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_engine.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_identity_country.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_identity_country_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_language.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_language_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_prompt.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_prompt_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_url.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_url_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_urls.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/extract_request_urls_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/filter_spec.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/h_t_t_p_validation_error.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/har_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_payload.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_claim_browser.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_claim_browser_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_claim_os.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_claim_os_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_device_model.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_device_model_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_locale.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_locale_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_proxy.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_proxy_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_source.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_source_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_timezone.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_timezone_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_viewport.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_request_viewport_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_response_expires_at.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_response_expires_at_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_response_identity_id.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_response_identity_id_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_response_workspace_id.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/identity_response_workspace_id_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/map_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/map_body_search.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/map_body_search_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/map_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/map_response_truncated_to_server_max.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/map_response_truncated_to_server_max_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/me_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/me_response_created_at.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/me_response_created_at_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/policy_upsert_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/policy_upsert_request_max_crawl_pages.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/policy_upsert_request_max_crawl_pages_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/policy_upsert_request_max_llm_calls.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/policy_upsert_request_max_llm_calls_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/policy_upsert_request_max_llm_tokens.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/policy_upsert_request_max_llm_tokens_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/problem_details.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/profile_create_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/profile_create_request_storage_state_id.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/profile_create_request_storage_state_id_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/profile_update_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/profile_update_request_name.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/profile_update_request_name_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/profile_update_request_storage_state_id.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/profile_update_request_storage_state_id_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/registry_token_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/retry_delivery_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/rotate_secret_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/schedule_create_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/schedule_create_request_job_params.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/schedule_create_request_notify_webhook.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/schedule_create_request_notify_webhook_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scorer_spec.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_batch_identity_mode.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_behavior_actions.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_behavior_actions_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_behavior_actions_member2.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_engine.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_format.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_identity.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_identity_country.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_identity_country_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_identity_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_language.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_language_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_profile.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_profile_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_proxy.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_proxy_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_screenshot_selector.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_screenshot_selector_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_session.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_session_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_url.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_url_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_urls.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scrape_request_urls_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scroll_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scroll_body_direction.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scroll_body_distance_px.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scroll_body_distance_px_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scroll_body_selector.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/scroll_body_selector_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/search_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/search_request_country.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/search_request_country_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/search_request_engine.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/search_request_engine_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/search_request_freshness.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/search_request_freshness_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/search_request_vertical.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/search_request_vertical_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/session_create_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/session_create_request_engine.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/session_create_request_profile.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/session_create_request_profile_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/storage_state_attach_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/storage_state_detach_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/takeover_action_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/team_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/tenant_context.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/upload_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/validation_error.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/validation_error_ctx.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/viewport_exact.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/wait_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/wait_body_selector.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/wait_body_selector_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_create_request.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_create_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_list_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_list_response_next_cursor.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_list_response_next_cursor_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public_delivered_at.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public_delivered_at_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public_error_class.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public_error_class_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public_replay_of.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public_replay_of_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public_response_body_preview.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public_response_body_preview_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public_response_status.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_delivery_public_response_status_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_list_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_list_response_next_cursor.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_list_response_next_cursor_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_public.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_public_secret_rotated_at.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/models/webhook_public_secret_rotated_at_member1.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/audit/audit_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/audit/events/events_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/billing/billing_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/billing/checkout/checkout_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/billing/portal/portal_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/billing/subscription/subscription_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/billing/usage/usage_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/budgets/budgets_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/budgets/policy/item/item/with_scope_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/budgets/policy/item/with_scope_type_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/budgets/policy/policy_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/budgets/usage/usage_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/cdp/cdp_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/cdp/frame/frame_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/cdp/url/url_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/contact/contact_post_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/contact/contact_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/crawl/crawl_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/crawl/deep/deep_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/crawl/deep/item/with_run_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/crawl_runs/crawl_runs_post_request_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/crawl_runs/crawl_runs_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/crawl_runs/item/cancel/cancel_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/crawl_runs/item/resume/resume_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/crawl_runs/item/with_run_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/datasets/datasets_post_request_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/datasets/datasets_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/datasets/item/rows/append/append_post_request_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/datasets/item/rows/append/append_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/datasets/item/rows/rows_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/datasets/item/with_name_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/discovery/discovery_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/engines/engines_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/engines/manifest/manifest_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/extract/extract_post_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/extract/extract_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/identity/identity_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/kv/item/with_key_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/kv/item/with_key_put_request_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/kv/kv_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/map/map_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/me/export/export_get_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/me/export/export_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/me/me_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/me/usage/get_period_query_parameter_type.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/me/usage/usage_get_response.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/me/usage/usage_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/page/cookies/cookies_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/page/dom_snapshot/dom_snapshot_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/page/download/download_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/page/eval/eval_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/page/har/har_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/page/page_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/page/scroll/scroll_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/page/upload/upload_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/page/wait/wait_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/pricing/pricing_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/pricing/public/public_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/profiles/item/with_name_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/profiles/profiles_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/proxy_providers/proxy_providers_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/queues/item/ack/ack_post_request_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/queues/item/ack/ack_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/queues/item/pop/pop_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/queues/item/push/push_post_request_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/queues/item/push/push_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/queues/item/stats/stats_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/queues/item/with_name_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/queues/queues_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/recordings/item/recording_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/recordings/item/visual/frames/frames_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/recordings/item/visual/start/start_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/recordings/item/visual/stop/stop_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/recordings/item/visual/visual_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/recordings/recordings_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/registry/registry_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/registry/token/token_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/schedules/item/runs/runs_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/schedules/item/with_schedule_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/schedules/schedules_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/scrape/batch/batch_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/scrape/scrape_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/screenshot_blobs/item/with_ref_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/screenshot_blobs/screenshot_blobs_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/search/search_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/create/create_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/budget_stream/budget_stream_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/extend/extend_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/pin/pin_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/profile_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/recording/recording_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/recording/start/start_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/recording/stop/stop_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/release/release_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/takeover/takeover_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/takeover_release/takeover_release_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/item/takeover_token/takeover_token_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/sessions/sessions_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/storage_states/detach/detach_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/storage_states/item/attach/attach_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/storage_states/item/with_id_or_name_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/storage_states/storage_states_post_request_body.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/storage_states/storage_states_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/updates/updates_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/webhooks/item/deliveries/deliveries_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/webhooks/item/deliveries/item/retry/retry_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/webhooks/item/deliveries/item/with_delivery_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/webhooks/item/rotate_secret/rotate_secret_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/webhooks/item/with_webhook_item_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/_generated/v1/webhooks/webhooks_request_builder.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/_ghostcrawl.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/branded.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/cli/__init__.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/cli/_batch.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/cli/_config_store.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/cli/install.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/errors/__init__.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/errors/codes.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/errors/identity_errors.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/identity/__init__.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/identity/client.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/identity/types.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/mcp/__init__.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/mcp/wrapper.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/params.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/py.typed +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl/retry_policy.py +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl.egg-info/dependency_links.txt +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl.egg-info/entry_points.txt +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl.egg-info/requires.txt +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/ghostcrawl.egg-info/top_level.txt +0 -0
- {ghostcrawl-2.2.3 → ghostcrawl-2.3.1}/setup.cfg +0 -0
ghostcrawl-2.3.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 GhostCrawl, LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ghostcrawl
|
|
3
|
+
Version: 2.3.1
|
|
4
|
+
Summary: Official Python SDK for the Ghostcrawl local orchestration API.
|
|
5
|
+
Author: Ghostcrawl
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/ghostcrawl/ghostcrawl
|
|
8
|
+
Keywords: ghostcrawl,scraping,browser,automation,agent
|
|
9
|
+
Classifier: Development Status :: 4 - Beta
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: httpx>=0.28.1
|
|
21
|
+
Requires-Dist: pydantic>=2.13
|
|
22
|
+
Requires-Dist: typer>=0.12
|
|
23
|
+
Requires-Dist: mcp>=1.27.1
|
|
24
|
+
Requires-Dist: microsoft-kiota-abstractions>=1.7.0
|
|
25
|
+
Requires-Dist: microsoft-kiota-http>=1.10.0
|
|
26
|
+
Requires-Dist: microsoft-kiota-serialization-json>=1.7.0
|
|
27
|
+
Requires-Dist: microsoft-kiota-serialization-text>=1.0.0
|
|
28
|
+
Requires-Dist: microsoft-kiota-serialization-form>=1.0.0
|
|
29
|
+
Requires-Dist: microsoft-kiota-serialization-multipart>=1.0.0
|
|
30
|
+
Provides-Extra: dev
|
|
31
|
+
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
32
|
+
Requires-Dist: respx>=0.23.1; extra == "dev"
|
|
33
|
+
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
|
|
36
|
+
# ghostcrawl — Python SDK
|
|
37
|
+
|
|
38
|
+
The official Python client for the [GhostCrawl](https://ghostcrawl.io) API. Collect web data at scale — scrape, crawl, search, extract structured data, manage browser sessions, and automate the full data-collection pipeline.
|
|
39
|
+
|
|
40
|
+
## Install
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
pip install ghostcrawl
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Requires Python 3.10+. Runtime dependencies: `httpx>=0.28.1`.
|
|
47
|
+
|
|
48
|
+
> The client is **async** — every request method is a coroutine. Call them with
|
|
49
|
+
> `await` inside an `async` function and drive it with `asyncio.run(...)`.
|
|
50
|
+
|
|
51
|
+
## Quickstart
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
import asyncio
|
|
55
|
+
from ghostcrawl import GhostcrawlClient
|
|
56
|
+
|
|
57
|
+
async def main():
|
|
58
|
+
# Reads GHOSTCRAWL_API_KEY from environment, or pass token= explicitly
|
|
59
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
60
|
+
# Scrape a URL
|
|
61
|
+
result = await client.scrape(url="https://example.com", format="markdown")
|
|
62
|
+
print(result["content"])
|
|
63
|
+
|
|
64
|
+
# Start a crawl and wait for it to finish — EVENT-DRIVEN: the server
|
|
65
|
+
# blocks until the run is terminal (completed/failed/cancelled) or the
|
|
66
|
+
# timeout elapses, then returns the run. No client-side poll loop.
|
|
67
|
+
run = await client.crawl_runs.start(
|
|
68
|
+
url="https://example.com", max_depth=2, max_pages=50,
|
|
69
|
+
wait=True, wait_timeout=300,
|
|
70
|
+
)
|
|
71
|
+
print(run["run_id"], run["status"])
|
|
72
|
+
|
|
73
|
+
# Already have a run_id? Long-poll it to completion the same way:
|
|
74
|
+
# run = await client.crawl_runs.wait(run_id, timeout=300)
|
|
75
|
+
# Or skip waiting entirely and get notified via a webhook (see Webhooks)
|
|
76
|
+
# by omitting wait= and registering a delivery URL with client.webhooks.
|
|
77
|
+
|
|
78
|
+
# Web search
|
|
79
|
+
results = await client.search(query="latest AI research", engine="google", limit=10)
|
|
80
|
+
for r in results["results"]:
|
|
81
|
+
print(r["title"], r["url"])
|
|
82
|
+
|
|
83
|
+
asyncio.run(main())
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Authentication
|
|
87
|
+
|
|
88
|
+
```python
|
|
89
|
+
import os
|
|
90
|
+
from ghostcrawl import GhostcrawlClient
|
|
91
|
+
|
|
92
|
+
# Option 1: pass token directly
|
|
93
|
+
client = GhostcrawlClient(token="gck_live_YOUR_KEY")
|
|
94
|
+
|
|
95
|
+
# Option 2: set environment variable (recommended for production)
|
|
96
|
+
os.environ["GHOSTCRAWL_API_KEY"] = "gck_live_YOUR_KEY"
|
|
97
|
+
client = GhostcrawlClient()
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Every request sends `Authorization: Bearer <token>`. This is the only auth scheme the API accepts.
|
|
101
|
+
|
|
102
|
+
## Extract structured data
|
|
103
|
+
|
|
104
|
+
```python
|
|
105
|
+
import asyncio
|
|
106
|
+
from ghostcrawl import GhostcrawlClient
|
|
107
|
+
|
|
108
|
+
async def main():
|
|
109
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
110
|
+
# Define a schema and extract matching data
|
|
111
|
+
data = await client.extract(
|
|
112
|
+
url="https://example.com/product",
|
|
113
|
+
schema={
|
|
114
|
+
"type": "object",
|
|
115
|
+
"properties": {
|
|
116
|
+
"name": {"type": "string"},
|
|
117
|
+
"price": {"type": "number"},
|
|
118
|
+
"description": {"type": "string"},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
)
|
|
122
|
+
print(data["name"], data["price"])
|
|
123
|
+
|
|
124
|
+
asyncio.run(main())
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Browser utilities — content, screenshot, PDF
|
|
128
|
+
|
|
129
|
+
```python
|
|
130
|
+
import asyncio
|
|
131
|
+
from ghostcrawl import GhostcrawlClient
|
|
132
|
+
|
|
133
|
+
async def main():
|
|
134
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
135
|
+
# Rendered content as a JSON envelope: {url, status, format, status_code, content, bytes}
|
|
136
|
+
page = await client.content(url="https://example.com", engine="auto")
|
|
137
|
+
print(page["status_code"], page["bytes"], "bytes")
|
|
138
|
+
print(page["content"][:200])
|
|
139
|
+
|
|
140
|
+
# Screenshot — returns raw PNG bytes you can write straight to disk
|
|
141
|
+
png = await client.screenshot(url="https://example.com", full_page=True)
|
|
142
|
+
with open("page.png", "wb") as f:
|
|
143
|
+
f.write(png)
|
|
144
|
+
|
|
145
|
+
# PDF — returns raw application/pdf bytes (Chrome-only; a Firefox/WebKit
|
|
146
|
+
# identity raises InvalidRequestError with 400 pdf_engine_unsupported)
|
|
147
|
+
pdf = await client.pdf(url="https://example.com", paper_format="a4")
|
|
148
|
+
with open("page.pdf", "wb") as f:
|
|
149
|
+
f.write(pdf)
|
|
150
|
+
|
|
151
|
+
asyncio.run(main())
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Agent (BYO model, account-gated)
|
|
155
|
+
|
|
156
|
+
The agent lane runs a natural-language browser task. It is **bring-your-own-model** — you
|
|
157
|
+
supply your own LLM provider via `provider_config` — and **account-gated**: the API replies
|
|
158
|
+
`404 not_found` unless the capability is enabled for your account. `agent()` does **not** raise
|
|
159
|
+
on that 404; it returns the `problem+json` body so you branch on `"detail" in result`.
|
|
160
|
+
|
|
161
|
+
```python
|
|
162
|
+
import asyncio
|
|
163
|
+
from ghostcrawl import GhostcrawlClient
|
|
164
|
+
|
|
165
|
+
async def main():
|
|
166
|
+
# provider_config is BYO — reference your provider key by ENV-VAR NAME only,
|
|
167
|
+
# never a literal key in committed code.
|
|
168
|
+
client = GhostcrawlClient(
|
|
169
|
+
token="gck_live_YOUR_KEY",
|
|
170
|
+
provider_config={
|
|
171
|
+
"provider": "openai",
|
|
172
|
+
"api_key": "OPENAI_API_KEY", # resolved from env by the caller
|
|
173
|
+
"model": "gpt-4o",
|
|
174
|
+
},
|
|
175
|
+
)
|
|
176
|
+
result = await client.agent(
|
|
177
|
+
url="https://books.toscrape.com",
|
|
178
|
+
instruction="click the 'Books to Scrape' link",
|
|
179
|
+
)
|
|
180
|
+
if "detail" in result:
|
|
181
|
+
print(f"agent lane not enabled for this account: {result['detail']}")
|
|
182
|
+
else:
|
|
183
|
+
print(result)
|
|
184
|
+
|
|
185
|
+
asyncio.run(main())
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
> The interactive MCP lane (`navigate` / `act` / `observe`) is available in the Python and
|
|
189
|
+
> Node SDKs only — see `ghostcrawl.mcp.wrapper.GhostcrawlMCPClient`. It is also BYO.
|
|
190
|
+
|
|
191
|
+
## Browser sessions
|
|
192
|
+
|
|
193
|
+
```python
|
|
194
|
+
import asyncio
|
|
195
|
+
from ghostcrawl import GhostcrawlClient
|
|
196
|
+
|
|
197
|
+
async def main():
|
|
198
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
199
|
+
# Create a session
|
|
200
|
+
session = await client.sessions.create(profile_name="my-profile")
|
|
201
|
+
session_id = session["session_id"]
|
|
202
|
+
|
|
203
|
+
# Extend and release
|
|
204
|
+
await client.sessions.extend(session_id, duration_seconds=600)
|
|
205
|
+
await client.sessions.release(session_id)
|
|
206
|
+
|
|
207
|
+
asyncio.run(main())
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
## Error handling
|
|
211
|
+
|
|
212
|
+
```python
|
|
213
|
+
import asyncio
|
|
214
|
+
from ghostcrawl import GhostcrawlClient, AuthenticationError, RateLimitError, APIError
|
|
215
|
+
|
|
216
|
+
async def main():
|
|
217
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
218
|
+
try:
|
|
219
|
+
result = await client.scrape(url="https://example.com")
|
|
220
|
+
except AuthenticationError:
|
|
221
|
+
print("Invalid API key — check your token")
|
|
222
|
+
except RateLimitError:
|
|
223
|
+
print("Rate limit reached — retry after a short delay")
|
|
224
|
+
except APIError as e:
|
|
225
|
+
print(f"Server error: {e.status_code}")
|
|
226
|
+
|
|
227
|
+
asyncio.run(main())
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
## Context manager
|
|
231
|
+
|
|
232
|
+
```python
|
|
233
|
+
import asyncio
|
|
234
|
+
from ghostcrawl import GhostcrawlClient
|
|
235
|
+
|
|
236
|
+
async def main():
|
|
237
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
238
|
+
result = await client.scrape(url="https://example.com")
|
|
239
|
+
print(result)
|
|
240
|
+
# HTTP connection is closed automatically
|
|
241
|
+
|
|
242
|
+
asyncio.run(main())
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
## All resources
|
|
246
|
+
|
|
247
|
+
Every operation below is a coroutine — prefix each call with `await` inside an `async` function.
|
|
248
|
+
|
|
249
|
+
| Resource | Client attribute | Key operations |
|
|
250
|
+
|----------|-----------------|----------------|
|
|
251
|
+
| Scraping | `client.scrape(url=…)` | Render and return page content |
|
|
252
|
+
| Web search | `client.search(query=…)` | Search Google, Bing, DuckDuckGo |
|
|
253
|
+
| Data extraction | `client.extract(url=…, schema=…)` | Structured JSON from any page |
|
|
254
|
+
| Deep crawl | `client.crawl(url=…)` | Crawl a site depth-first |
|
|
255
|
+
| URL map | `client.map(url=…)` | Discover all reachable URLs |
|
|
256
|
+
| Content | `client.content(url=…)` | Rendered content JSON envelope |
|
|
257
|
+
| Screenshot | `client.screenshot(url=…)` | Capture a URL to PNG bytes |
|
|
258
|
+
| PDF | `client.pdf(url=…)` | Render a URL to PDF bytes (Chrome-only) |
|
|
259
|
+
| Agent (BYO) | `client.agent(url=…, instruction=…)` | NL browser task — account-gated, BYO model |
|
|
260
|
+
| Crawl runs | `client.crawl_runs` | start (`wait=True`), wait, list, get, cancel |
|
|
261
|
+
| Sessions | `client.sessions` | create, extend, release |
|
|
262
|
+
| Profiles | `client.profiles` | list, get, create, update, delete |
|
|
263
|
+
| Webhooks | `client.webhooks` | list, get, create, delete, rotate-secret |
|
|
264
|
+
| Schedules | `client.schedules` | list, get, create, delete |
|
|
265
|
+
| Datasets | `client.datasets` | list, get, create, delete, append rows |
|
|
266
|
+
| Recordings | `client.recordings` | list, get, delete |
|
|
267
|
+
| Key-Value Store | `client.kv` | get, set, delete |
|
|
268
|
+
| Account | `client.me()` | Get account info and usage |
|
|
269
|
+
|
|
270
|
+
## LangChain integration
|
|
271
|
+
|
|
272
|
+
```bash
|
|
273
|
+
pip install ghostcrawl-langchain
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
```python
|
|
277
|
+
from ghostcrawl_langchain import GhostcrawlScrape, GhostcrawlSearch
|
|
278
|
+
|
|
279
|
+
scrape_tool = GhostcrawlScrape()
|
|
280
|
+
search_tool = GhostcrawlSearch()
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
## Self-hosted
|
|
284
|
+
|
|
285
|
+
```python
|
|
286
|
+
client = GhostcrawlClient(
|
|
287
|
+
token="gck_live_YOUR_KEY",
|
|
288
|
+
base_url="http://localhost:8080", # your self-hosted instance
|
|
289
|
+
)
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
## License
|
|
293
|
+
|
|
294
|
+
Proprietary — GhostCrawl Software License. See [LICENSE](LICENSE).
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
# ghostcrawl — Python SDK
|
|
2
|
+
|
|
3
|
+
The official Python client for the [GhostCrawl](https://ghostcrawl.io) API. Collect web data at scale — scrape, crawl, search, extract structured data, manage browser sessions, and automate the full data-collection pipeline.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install ghostcrawl
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Requires Python 3.10+. Runtime dependencies: `httpx>=0.28.1`.
|
|
12
|
+
|
|
13
|
+
> The client is **async** — every request method is a coroutine. Call them with
|
|
14
|
+
> `await` inside an `async` function and drive it with `asyncio.run(...)`.
|
|
15
|
+
|
|
16
|
+
## Quickstart
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
import asyncio
|
|
20
|
+
from ghostcrawl import GhostcrawlClient
|
|
21
|
+
|
|
22
|
+
async def main():
|
|
23
|
+
# Reads GHOSTCRAWL_API_KEY from environment, or pass token= explicitly
|
|
24
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
25
|
+
# Scrape a URL
|
|
26
|
+
result = await client.scrape(url="https://example.com", format="markdown")
|
|
27
|
+
print(result["content"])
|
|
28
|
+
|
|
29
|
+
# Start a crawl and wait for it to finish — EVENT-DRIVEN: the server
|
|
30
|
+
# blocks until the run is terminal (completed/failed/cancelled) or the
|
|
31
|
+
# timeout elapses, then returns the run. No client-side poll loop.
|
|
32
|
+
run = await client.crawl_runs.start(
|
|
33
|
+
url="https://example.com", max_depth=2, max_pages=50,
|
|
34
|
+
wait=True, wait_timeout=300,
|
|
35
|
+
)
|
|
36
|
+
print(run["run_id"], run["status"])
|
|
37
|
+
|
|
38
|
+
# Already have a run_id? Long-poll it to completion the same way:
|
|
39
|
+
# run = await client.crawl_runs.wait(run_id, timeout=300)
|
|
40
|
+
# Or skip waiting entirely and get notified via a webhook (see Webhooks)
|
|
41
|
+
# by omitting wait= and registering a delivery URL with client.webhooks.
|
|
42
|
+
|
|
43
|
+
# Web search
|
|
44
|
+
results = await client.search(query="latest AI research", engine="google", limit=10)
|
|
45
|
+
for r in results["results"]:
|
|
46
|
+
print(r["title"], r["url"])
|
|
47
|
+
|
|
48
|
+
asyncio.run(main())
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Authentication
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
import os
|
|
55
|
+
from ghostcrawl import GhostcrawlClient
|
|
56
|
+
|
|
57
|
+
# Option 1: pass token directly
|
|
58
|
+
client = GhostcrawlClient(token="gck_live_YOUR_KEY")
|
|
59
|
+
|
|
60
|
+
# Option 2: set environment variable (recommended for production)
|
|
61
|
+
os.environ["GHOSTCRAWL_API_KEY"] = "gck_live_YOUR_KEY"
|
|
62
|
+
client = GhostcrawlClient()
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Every request sends `Authorization: Bearer <token>`. This is the only auth scheme the API accepts.
|
|
66
|
+
|
|
67
|
+
## Extract structured data
|
|
68
|
+
|
|
69
|
+
```python
|
|
70
|
+
import asyncio
|
|
71
|
+
from ghostcrawl import GhostcrawlClient
|
|
72
|
+
|
|
73
|
+
async def main():
|
|
74
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
75
|
+
# Define a schema and extract matching data
|
|
76
|
+
data = await client.extract(
|
|
77
|
+
url="https://example.com/product",
|
|
78
|
+
schema={
|
|
79
|
+
"type": "object",
|
|
80
|
+
"properties": {
|
|
81
|
+
"name": {"type": "string"},
|
|
82
|
+
"price": {"type": "number"},
|
|
83
|
+
"description": {"type": "string"},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
)
|
|
87
|
+
print(data["name"], data["price"])
|
|
88
|
+
|
|
89
|
+
asyncio.run(main())
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Browser utilities — content, screenshot, PDF
|
|
93
|
+
|
|
94
|
+
```python
|
|
95
|
+
import asyncio
|
|
96
|
+
from ghostcrawl import GhostcrawlClient
|
|
97
|
+
|
|
98
|
+
async def main():
|
|
99
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
100
|
+
# Rendered content as a JSON envelope: {url, status, format, status_code, content, bytes}
|
|
101
|
+
page = await client.content(url="https://example.com", engine="auto")
|
|
102
|
+
print(page["status_code"], page["bytes"], "bytes")
|
|
103
|
+
print(page["content"][:200])
|
|
104
|
+
|
|
105
|
+
# Screenshot — returns raw PNG bytes you can write straight to disk
|
|
106
|
+
png = await client.screenshot(url="https://example.com", full_page=True)
|
|
107
|
+
with open("page.png", "wb") as f:
|
|
108
|
+
f.write(png)
|
|
109
|
+
|
|
110
|
+
# PDF — returns raw application/pdf bytes (Chrome-only; a Firefox/WebKit
|
|
111
|
+
# identity raises InvalidRequestError with 400 pdf_engine_unsupported)
|
|
112
|
+
pdf = await client.pdf(url="https://example.com", paper_format="a4")
|
|
113
|
+
with open("page.pdf", "wb") as f:
|
|
114
|
+
f.write(pdf)
|
|
115
|
+
|
|
116
|
+
asyncio.run(main())
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Agent (BYO model, account-gated)
|
|
120
|
+
|
|
121
|
+
The agent lane runs a natural-language browser task. It is **bring-your-own-model** — you
|
|
122
|
+
supply your own LLM provider via `provider_config` — and **account-gated**: the API replies
|
|
123
|
+
`404 not_found` unless the capability is enabled for your account. `agent()` does **not** raise
|
|
124
|
+
on that 404; it returns the `problem+json` body so you branch on `"detail" in result`.
|
|
125
|
+
|
|
126
|
+
```python
|
|
127
|
+
import asyncio
|
|
128
|
+
from ghostcrawl import GhostcrawlClient
|
|
129
|
+
|
|
130
|
+
async def main():
|
|
131
|
+
# provider_config is BYO — reference your provider key by ENV-VAR NAME only,
|
|
132
|
+
# never a literal key in committed code.
|
|
133
|
+
client = GhostcrawlClient(
|
|
134
|
+
token="gck_live_YOUR_KEY",
|
|
135
|
+
provider_config={
|
|
136
|
+
"provider": "openai",
|
|
137
|
+
"api_key": "OPENAI_API_KEY", # resolved from env by the caller
|
|
138
|
+
"model": "gpt-4o",
|
|
139
|
+
},
|
|
140
|
+
)
|
|
141
|
+
result = await client.agent(
|
|
142
|
+
url="https://books.toscrape.com",
|
|
143
|
+
instruction="click the 'Books to Scrape' link",
|
|
144
|
+
)
|
|
145
|
+
if "detail" in result:
|
|
146
|
+
print(f"agent lane not enabled for this account: {result['detail']}")
|
|
147
|
+
else:
|
|
148
|
+
print(result)
|
|
149
|
+
|
|
150
|
+
asyncio.run(main())
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
> The interactive MCP lane (`navigate` / `act` / `observe`) is available in the Python and
|
|
154
|
+
> Node SDKs only — see `ghostcrawl.mcp.wrapper.GhostcrawlMCPClient`. It is also BYO.
|
|
155
|
+
|
|
156
|
+
## Browser sessions
|
|
157
|
+
|
|
158
|
+
```python
|
|
159
|
+
import asyncio
|
|
160
|
+
from ghostcrawl import GhostcrawlClient
|
|
161
|
+
|
|
162
|
+
async def main():
|
|
163
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
164
|
+
# Create a session
|
|
165
|
+
session = await client.sessions.create(profile_name="my-profile")
|
|
166
|
+
session_id = session["session_id"]
|
|
167
|
+
|
|
168
|
+
# Extend and release
|
|
169
|
+
await client.sessions.extend(session_id, duration_seconds=600)
|
|
170
|
+
await client.sessions.release(session_id)
|
|
171
|
+
|
|
172
|
+
asyncio.run(main())
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
## Error handling
|
|
176
|
+
|
|
177
|
+
```python
|
|
178
|
+
import asyncio
|
|
179
|
+
from ghostcrawl import GhostcrawlClient, AuthenticationError, RateLimitError, APIError
|
|
180
|
+
|
|
181
|
+
async def main():
|
|
182
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
183
|
+
try:
|
|
184
|
+
result = await client.scrape(url="https://example.com")
|
|
185
|
+
except AuthenticationError:
|
|
186
|
+
print("Invalid API key — check your token")
|
|
187
|
+
except RateLimitError:
|
|
188
|
+
print("Rate limit reached — retry after a short delay")
|
|
189
|
+
except APIError as e:
|
|
190
|
+
print(f"Server error: {e.status_code}")
|
|
191
|
+
|
|
192
|
+
asyncio.run(main())
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
## Context manager
|
|
196
|
+
|
|
197
|
+
```python
|
|
198
|
+
import asyncio
|
|
199
|
+
from ghostcrawl import GhostcrawlClient
|
|
200
|
+
|
|
201
|
+
async def main():
|
|
202
|
+
async with GhostcrawlClient(token="gck_live_YOUR_KEY") as client:
|
|
203
|
+
result = await client.scrape(url="https://example.com")
|
|
204
|
+
print(result)
|
|
205
|
+
# HTTP connection is closed automatically
|
|
206
|
+
|
|
207
|
+
asyncio.run(main())
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
## All resources
|
|
211
|
+
|
|
212
|
+
Every operation below is a coroutine — prefix each call with `await` inside an `async` function.
|
|
213
|
+
|
|
214
|
+
| Resource | Client attribute | Key operations |
|
|
215
|
+
|----------|-----------------|----------------|
|
|
216
|
+
| Scraping | `client.scrape(url=…)` | Render and return page content |
|
|
217
|
+
| Web search | `client.search(query=…)` | Search Google, Bing, DuckDuckGo |
|
|
218
|
+
| Data extraction | `client.extract(url=…, schema=…)` | Structured JSON from any page |
|
|
219
|
+
| Deep crawl | `client.crawl(url=…)` | Crawl a site depth-first |
|
|
220
|
+
| URL map | `client.map(url=…)` | Discover all reachable URLs |
|
|
221
|
+
| Content | `client.content(url=…)` | Rendered content JSON envelope |
|
|
222
|
+
| Screenshot | `client.screenshot(url=…)` | Capture a URL to PNG bytes |
|
|
223
|
+
| PDF | `client.pdf(url=…)` | Render a URL to PDF bytes (Chrome-only) |
|
|
224
|
+
| Agent (BYO) | `client.agent(url=…, instruction=…)` | NL browser task — account-gated, BYO model |
|
|
225
|
+
| Crawl runs | `client.crawl_runs` | start (`wait=True`), wait, list, get, cancel |
|
|
226
|
+
| Sessions | `client.sessions` | create, extend, release |
|
|
227
|
+
| Profiles | `client.profiles` | list, get, create, update, delete |
|
|
228
|
+
| Webhooks | `client.webhooks` | list, get, create, delete, rotate-secret |
|
|
229
|
+
| Schedules | `client.schedules` | list, get, create, delete |
|
|
230
|
+
| Datasets | `client.datasets` | list, get, create, delete, append rows |
|
|
231
|
+
| Recordings | `client.recordings` | list, get, delete |
|
|
232
|
+
| Key-Value Store | `client.kv` | get, set, delete |
|
|
233
|
+
| Account | `client.me()` | Get account info and usage |
|
|
234
|
+
|
|
235
|
+
## LangChain integration
|
|
236
|
+
|
|
237
|
+
```bash
|
|
238
|
+
pip install ghostcrawl-langchain
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
```python
|
|
242
|
+
from ghostcrawl_langchain import GhostcrawlScrape, GhostcrawlSearch
|
|
243
|
+
|
|
244
|
+
scrape_tool = GhostcrawlScrape()
|
|
245
|
+
search_tool = GhostcrawlSearch()
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
## Self-hosted
|
|
249
|
+
|
|
250
|
+
```python
|
|
251
|
+
client = GhostcrawlClient(
|
|
252
|
+
token="gck_live_YOUR_KEY",
|
|
253
|
+
base_url="http://localhost:8080", # your self-hosted instance
|
|
254
|
+
)
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
## License
|
|
258
|
+
|
|
259
|
+
Proprietary — GhostCrawl Software License. See [LICENSE](LICENSE).
|
|
@@ -8,7 +8,6 @@ from typing import Any, Optional, TYPE_CHECKING, Union
|
|
|
8
8
|
if TYPE_CHECKING:
|
|
9
9
|
from .audit.audit_request_builder import AuditRequestBuilder
|
|
10
10
|
from .billing.billing_request_builder import BillingRequestBuilder
|
|
11
|
-
from .binary.binary_request_builder import BinaryRequestBuilder
|
|
12
11
|
from .budgets.budgets_request_builder import BudgetsRequestBuilder
|
|
13
12
|
from .cdp.cdp_request_builder import CdpRequestBuilder
|
|
14
13
|
from .contact.contact_request_builder import ContactRequestBuilder
|
|
@@ -69,15 +68,6 @@ class V1RequestBuilder(BaseRequestBuilder):
|
|
|
69
68
|
|
|
70
69
|
return BillingRequestBuilder(self.request_adapter, self.path_parameters)
|
|
71
70
|
|
|
72
|
-
@property
|
|
73
|
-
def binary(self) -> BinaryRequestBuilder:
|
|
74
|
-
"""
|
|
75
|
-
The binary property
|
|
76
|
-
"""
|
|
77
|
-
from .binary.binary_request_builder import BinaryRequestBuilder
|
|
78
|
-
|
|
79
|
-
return BinaryRequestBuilder(self.request_adapter, self.path_parameters)
|
|
80
|
-
|
|
81
71
|
@property
|
|
82
72
|
def budgets(self) -> BudgetsRequestBuilder:
|
|
83
73
|
"""
|
|
@@ -81,7 +81,20 @@ from .params import (
|
|
|
81
81
|
)
|
|
82
82
|
from .retry_policy import RetryPolicy, with_retries
|
|
83
83
|
|
|
84
|
+
# ---------------------------------------------------------------------------
|
|
85
|
+
# Package version — sourced from installed distribution metadata (single source
|
|
86
|
+
# of truth = pyproject.toml), so ``ghostcrawl.__version__`` never drifts from
|
|
87
|
+
# the published version. Falls back to "0.0.0" only for an uninstalled tree.
|
|
88
|
+
# ---------------------------------------------------------------------------
|
|
89
|
+
from importlib.metadata import version as _pkg_version, PackageNotFoundError
|
|
90
|
+
|
|
91
|
+
try:
|
|
92
|
+
__version__ = _pkg_version("ghostcrawl")
|
|
93
|
+
except PackageNotFoundError: # source tree not pip-installed
|
|
94
|
+
__version__ = "0.0.0"
|
|
95
|
+
|
|
84
96
|
__all__ = [
|
|
97
|
+
"__version__",
|
|
85
98
|
# Canonical client + aliases
|
|
86
99
|
"GhostcrawlClient",
|
|
87
100
|
"Ghostcrawl",
|
|
@@ -58,7 +58,7 @@ def _run(value: Any) -> Any:
|
|
|
58
58
|
# Top-level app
|
|
59
59
|
# ---------------------------------------------------------------------------
|
|
60
60
|
|
|
61
|
-
__version__ = "2.
|
|
61
|
+
__version__ = "2.3.0" # keep in sync with sdks/python/pyproject.toml (test_version_matches_pyproject guards drift)
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
def _version_callback(value: bool) -> None:
|