epg-grabber 0.40.2 → 0.40.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epg-grabber",
3
- "version": "0.40.2",
3
+ "version": "0.40.4",
4
4
  "description": "Node.js CLI tool for grabbing EPG from different sites",
5
5
  "main": "src/index.js",
6
6
  "preferGlobal": true,
@@ -31,7 +31,6 @@
31
31
  "dependencies": {
32
32
  "axios": "^1.6.1",
33
33
  "axios-cache-interceptor": "^0.10.3",
34
- "axios-mock-adapter": "^1.20.0",
35
34
  "commander": "^7.1.0",
36
35
  "curl-generator": "^0.2.0",
37
36
  "cwait": "^1.1.2",
@@ -39,11 +38,9 @@
39
38
  "epg-parser": "^0.1.6",
40
39
  "fs-extra": "^11.1.1",
41
40
  "glob": "^7.1.6",
42
- "http-cookie-agent": "^6.0.8",
43
41
  "lodash": "^4.17.21",
44
42
  "node-gzip": "^1.1.2",
45
43
  "socks-proxy-agent": "^8.0.5",
46
- "tough-cookie": "^5.0.0",
47
44
  "winston": "^3.3.3",
48
45
  "xml-js": "^1.6.11"
49
46
  },
package/src/index.d.ts CHANGED
@@ -6,7 +6,7 @@ export declare class Channel {
6
6
  site?: string
7
7
  site_id: string
8
8
  lang?: string
9
- logo?: string
9
+ icon?: string
10
10
  lcn?: number
11
11
  index: number
12
12
  }
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?><tv date="20250718">
2
+ <channel id="1TV.com"><display-name>1 TV</display-name><icon src="https://example.com/logos/1TV.png"/><url>https://example.com</url><lcn>36</lcn></channel>
3
+ <channel id="2TV.com"><display-name>2 TV</display-name><url>https://example.com</url></channel>
4
+ <channel id="3TV.com"><display-name>3 TV</display-name><url>https://example2.com</url></channel>
5
+ <channel id="4TV.com"><display-name>4 TV</display-name><url>https://example2.com</url></channel>
6
+ <programme start="20220101000000 +0000" stop="20220101010000 +0000" channel="1TV.com"><title lang="fr">Program1</title></programme>
7
+ <programme start="20220101000000 +0000" stop="20220101010000 +0000" channel="4TV.com"><title>Program1</title></programme>
8
+ <programme start="20220101000000 +0000" stop="20220101010000 +0000" channel="3TV.com"><title>Program1</title></programme>
9
+ <programme start="20220101000000 +0000" stop="20220101010000 +0000" channel="2TV.com"><title>Program1</title></programme>
10
+ </tv>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" ?><tv date="20250716">
2
- <channel id="1TV.com"><display-name>1 TV</display-name><icon src="https://example.com/logos/1TV.png"/><url>https://example.com</url><lcn>36</lcn></channel>
3
- <channel id="2TV.com"><display-name>2 TV</display-name><url>https://example.com</url></channel>
4
- <programme start="20220101000000 +0000" stop="20220101010000 +0000" channel="1TV.com"><title lang="fr">Program1</title></programme>
5
- <programme start="20220101000000 +0000" stop="20220101010000 +0000" channel="2TV.com"><title>Program1</title></programme>
6
- </tv>