mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
@@ -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
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user