diff options
| author | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-08-17 20:12:42 +0200 |
|---|---|---|
| committer | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-08-17 20:12:42 +0200 |
| commit | 8812c84f32c74ac2f44af1abdb7e4e6f7cbf10b0 (patch) | |
| tree | 966d5fefdcf24e1331c4d6d562e79d099482382b /js/template.js | |
| parent | c36bb2ca2a82338a822c6962f3373809b4bed814 (diff) | |
change rate to requests per second
Diffstat (limited to 'js/template.js')
| -rw-r--r-- | js/template.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/template.js b/js/template.js index d33adc5..a2b4518 100644 --- a/js/template.js +++ b/js/template.js @@ -4,6 +4,7 @@ export const options = { url: "https://news.ycombinator.com/", // Specify the URL to start scraping from. depth: 1, // Specify how deep links should be followed (0 = no follow). allowedDomains: ["news.ycombinator.com"], // Specify the allowed domains to follow. + rate: 100, // Specify the request rate in requests per second. } export default function({ html, url }) { |