{"id":13579080,"url":"https://github.com/blackfireio/player","last_synced_at":"2025-04-05T20:33:03.465Z","repository":{"id":3026072,"uuid":"48047899","full_name":"blackfireio/player","owner":"blackfireio","description":"Blackfire Player is a powerful Web Crawling, Web Testing, and Web Scraper application. It provides a nice DSL to crawl HTTP services, assert responses, and extract data from HTML/XML/JSON responses.","archived":false,"fork":false,"pushed_at":"2025-04-01T10:10:38.000Z","size":1526,"stargazers_count":489,"open_issues_count":15,"forks_count":60,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-03T01:14:28.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://blackfire.io/player","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackfireio.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-15T14:28:17.000Z","updated_at":"2025-03-31T19:09:15.000Z","dependencies_parsed_at":"2023-10-25T10:30:54.213Z","dependency_job_id":"9e4aa8ac-111d-4ed2-a511-aea3522bb6e0","html_url":"https://github.com/blackfireio/player","commit_stats":{"total_commits":690,"total_committers":32,"mean_commits":21.5625,"dds":0.7681159420289855,"last_synced_commit":"0fe70edea71b2bf47292137c3d4b8e582bc7d819"},"previous_names":[],"tags_count":128,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackfireio%2Fplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackfireio%2Fplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackfireio%2Fplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackfireio%2Fplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackfireio","download_url":"https://codeload.github.com/blackfireio/player/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246916762,"owners_count":20854514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:01:36.353Z","updated_at":"2025-04-05T20:32:59.265Z","avatar_url":"https://github.com/blackfireio.png","language":"PHP","funding_links":[],"categories":["PHP","类库"],"sub_categories":["网页抓取/代理"],"readme":"Blackfire Player\n================\n\nBlackfire Player is a powerful performance testing application.\nIt provides a nice DSL to **crawl HTTP services**, **assert\nresponses**, and **extract data** from HTML/XML/JSON responses.\n\nRead more about how to `download and use Blackfire Player\n\u003chttps://docs.blackfire.io/builds-cookbooks/player\u003e`_.\n\nUsage\n-----\n\n``blackfire-player`` is distributed through a Docker image.\n\nTo run a scenario located in the ``my-scenario.bkf`` file, run the following\ncommand:\n\n.. code-block:: bash\n\n    docker run --rm -it -e BLACKFIRE_CLIENT_ID -e BLACKFIRE_CLIENT_TOKEN -v \"`pwd`:/app\" blackfire/player run my-scenario.bkf\n\nThe ``pwd`` part is the local working directory (we are using the current\ndirectory here) and it is mapped to the ``/app`` path in the Docker container.\n\n``BLACKFIRE_CLIENT_ID`` and ``BLACKFIRE_CLIENT_TOKEN`` environment variables\nneed to be properly exposed from the host in order to be able to use the\n:doc:`Blackfire Profiler integration \u003c/integrations/blackfire-player\u003e`.\n\n.. note::\n\n    To make it simpler to run this command, you might create a shell alias\n    (that you can store in a ``.bashrc`` or ``.zshrc`` file depending on your\n    shell):\n\n    .. code-block:: bash\n\n        alias blackfire-player=\"docker run --rm -it -e BLACKFIRE_CLIENT_ID -e BLACKFIRE_CLIENT_TOKEN -v \\\"`pwd`:/app\\\" blackfire/player\"\n\n    Don't forget to restart your terminal for it to take effect. You can then\n    use ``blackfire-player`` as if it was the binary itself:\n\n    .. code-block:: bash\n\n        blackfire-player --version\n        blackfire-player list\n        blackfire-player run my-scenario.bkf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackfireio%2Fplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackfireio%2Fplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackfireio%2Fplayer/lists"}