Merge pull request #2617 from iptv-org/update-tvtv.us

Update tvtv.us
This commit is contained in:
PopeyeTheSai10r 2025-01-17 20:58:30 -08:00 committed by GitHub
commit 3d4ced9e88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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)) {