feat: support upto 15 days of listings

- change default timespan to 6
- parallize tv listing chunks

special thanks to @majortom9
https://github.com/jef/zap2xml/issues/41#issuecomment-3092418305
This commit is contained in:
Jef LeCompte
2025-07-19 13:32:56 -07:00
parent 51f66a1b26
commit ee8c32dfbb
4 changed files with 65 additions and 37 deletions

View File

@@ -9,7 +9,7 @@ export const config = {
timespan:
process.env["TIMESPAN"] ||
process.argv.find((arg) => arg.startsWith("--timespan="))?.split("=")[1] ||
"3",
"6",
country:
process.env["COUNTRY"] ||
process.argv.find((arg) => arg.startsWith("--country="))?.split("=")[1] ||