diff --git a/sites/tvtv.us/readme.md b/sites/tvtv.us/readme.md index ceb3285b..b60d6659 100644 --- a/sites/tvtv.us/readme.md +++ b/sites/tvtv.us/readme.md @@ -5,9 +5,11 @@ https://www.tvtv.us/ ### Download the guide ```sh -npm run grab --- --site=tvtv.us +npm run grab --- --site=tvtv.us --delay=2000 ``` +**IMPORTANT:** Keep in mind that with a large number of requests the server may start responding with the error [429 Too Many Requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429). In this case, try increasing the `--delay` (1000 = 1 second) or create a [custom channel list](https://github.com/iptv-org/epg?tab=readme-ov-file#use-custom-channel-list) with only the channels you need. + ### Test ```sh diff --git a/sites/tvtv.us/tvtv.us.config.js b/sites/tvtv.us/tvtv.us.config.js index b1eb7629..098be11f 100644 --- a/sites/tvtv.us/tvtv.us.config.js +++ b/sites/tvtv.us/tvtv.us.config.js @@ -5,7 +5,6 @@ dayjs.extend(utc) module.exports = { site: 'tvtv.us', - delay: 1500, // 1500 ms (otherwise the server returns error 429: https://github.com/iptv-org/epg/issues/2176) days: 2, url: function ({ date, channel }) { if (!dayjs.isDayjs(date)) {