reinaldo / aspnet-goutte-client
Asp.net forms wrapper for goutte client
v0.0.2
2021-01-14 05:20 UTC
Requires
- fabpot/goutte: ^4.0
- guzzlehttp/guzzle: ^6.5
- illuminate/container: ^7.11
Requires (Dev)
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-04-19 23:42:04 UTC
README
exemple call
$uri = 'http://b3.php.loc/scrapper/tests/fixtures/http/responses/GET/busca-empresa-listada.html'; $formParams = []; $files = []; $headers = []; $crawler = $client->request("GET", $uri, $formParams, $files, $headers); $listCrawler = $client->eventSubmit('[value="Todas"]'); //this will submit aspnet form with __EVENTTARGET of button [value="Todas"]