duzun / hQuery.php

An extremely fast web scraper that parses megabytes of invalid HTML in a blink of an eye. PHP5.3+, no dependencies.
https://duzun.me/playground/hquery
MIT License
361 stars 74 forks source link

Unable to create socket: Connection timed out #9

Closed lellogrini closed 8 years ago

lellogrini commented 8 years ago

How to increase the connection time?

duzun commented 8 years ago
hQuery::fromURL('http://example.com', NULL, NULL, ['timeout' => 7])

By default it is 7 sec.