Skip to content

Commit

Permalink
fixed interaction section in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jakopako committed Dec 14, 2024
1 parent 376e82b commit b910aca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -517,10 +517,10 @@ If a dynamic webpage does initially not load all the items it might be necessary

```yml
interaction:
type: click # for now only click is supported.
selector: .some > div.selector
count: 1 # number of clicks. Default is 1
delay: 2000 # milliseconds that the scraper waits after each click. Default is 1000
- type: click # for now only click is supported.
selector: .some > div.selector
count: 1 # number of clicks. Default is 1
delay: 2000 # milliseconds that the scraper waits after each click. Default is 1000
```

Note that these clicks are executed before the data is scraped. Also the interaction configuration will be ignored if `render_js` is not set to `true` because only in that case is the website actually run within a headless browser.
Expand Down

0 comments on commit b910aca

Please sign in to comment.