Set a local timeout #45

Open
opened 2025-10-14 18:03:18 -06:00 by navan · 0 comments
Owner

Originally created by @matthewmueller on 10/18/2019

Is your feature request related to a problem? Please describe.

Timeouts are confusing: https://github.com/matthewmueller/x-ray/issues/120

Describe the solution you'd like

Support for overriding with a local timeout:

x('https://dribbble.com', 'li.group', [{
  title: '.dribbble-img strong',
  image: '.dribbble-img [data-src]@data-src',
}])
  .paginate('.next_page@href')
  .limit(3)
  .timeout(30)
  .driver('phantomjs')
  .delay(100)
  .write('results.json')
*Originally created by @matthewmueller on 10/18/2019* **Is your feature request related to a problem? Please describe.** Timeouts are confusing: https://github.com/matthewmueller/x-ray/issues/120 **Describe the solution you'd like** Support for overriding with a local timeout: ```js x('https://dribbble.com', 'li.group', [{ title: '.dribbble-img strong', image: '.dribbble-img [data-src]@data-src', }]) .paginate('.next_page@href') .limit(3) .timeout(30) .driver('phantomjs') .delay(100) .write('results.json') ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/x-ray#45
No description provided.