@mr-quin/dango-manifests 0.8.2 → 0.8.3

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/catalog.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "packageVersion": "0.8.2",
2
+ "packageVersion": "0.8.3",
3
3
  "manifests": [
4
4
  {
5
5
  "id": "aiyifan",
@@ -53,7 +53,7 @@
53
53
  {
54
54
  "id": "mango",
55
55
  "name": "Mango TV",
56
- "version": "0.7.0",
56
+ "version": "0.7.1",
57
57
  "apiVersion": 1,
58
58
  "file": "src/manifests/mango.json"
59
59
  },
@@ -88,7 +88,7 @@
88
88
  {
89
89
  "id": "youku",
90
90
  "name": "Youku",
91
- "version": "0.5.1",
91
+ "version": "0.5.2",
92
92
  "apiVersion": 1,
93
93
  "file": "src/manifests/youku.json"
94
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mr-quin/dango-manifests",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Built-in dango manifests for danmaku sources",
5
5
  "author": "Mr-Quin",
6
6
  "license": "MIT",
@@ -8,7 +8,7 @@
8
8
  "name": "芒果TV"
9
9
  }
10
10
  },
11
- "version": "0.7.0",
11
+ "version": "0.7.1",
12
12
  "hosts": [
13
13
  "mobileso.bz.mgtv.com",
14
14
  "pcweb.api.mgtv.com",
@@ -54,7 +54,7 @@
54
54
  "rewriteHeaders": { "Referer": "'https://www.mgtv.com/'" }
55
55
  },
56
56
  "extract": {
57
- "months": "data.tab_m.m"
57
+ "months": "[data.tab_m.m]"
58
58
  }
59
59
  },
60
60
  {
@@ -8,7 +8,7 @@
8
8
  "name": "优酷"
9
9
  }
10
10
  },
11
- "version": "0.5.1",
11
+ "version": "0.5.2",
12
12
  "hosts": [
13
13
  "search.youku.com",
14
14
  "openapi.youku.com",
@@ -96,7 +96,7 @@
96
96
  "type": "assign",
97
97
  "id": "prep",
98
98
  "values": {
99
- "iters": "$type(tkEnc.tk) = 'string' and tkEnc.tk != '' ? $map($range(0, $floor(info.durationSec / 60) + 1), function($mat) { ($t := $millis(); $msg := { 'ctime': $t, 'ctype': 10004, 'cver': 'v1.0', 'guid': cna.value, 'mat': $mat, 'mcount': 1, 'pid': 0, 'sver': '3.1.0', 'type': 1, 'vid': vid }; $msgB64 := $base64Encode($stringify($msg)); $innerSign := $md5($msgB64 & 'MkmC9SoIw6xCkSKHhJ7b5D2r51kBiREr'); $data := $stringify($merge([$msg, { 'msg': $msgB64, 'sign': $innerSign }])); $outerSign := $md5($substring(tkEnc.tk, 0, 32) & '&' & $string($t) & '&24679788&' & $data); { 'url': 'https://acs.youku.com/h5/mopen.youku.danmu.list/1.0/?' & $sortedQueryString({ 'jsv': '2.5.6', 'appKey': '24679788', 't': $string($t), 'sign': $outerSign, 'api': 'mopen.youku.danmu.list', 'v': '1.0', 'type': 'originaljson', 'dataType': 'jsonp', 'timeout': '20000', 'jsonpIncPrefix': 'utility' }), 'body': 'data=' & $encodeUrlComponent($data) }) }) : []"
99
+ "iters": "$type(tkEnc.tk) = 'string' and tkEnc.tk != '' ? [$map($range(0, $floor(info.durationSec / 60) + 1), function($mat) { ($t := $millis(); $msg := { 'ctime': $t, 'ctype': 10004, 'cver': 'v1.0', 'guid': cna.value, 'mat': $mat, 'mcount': 1, 'pid': 0, 'sver': '3.1.0', 'type': 1, 'vid': vid }; $msgB64 := $base64Encode($stringify($msg)); $innerSign := $md5($msgB64 & 'MkmC9SoIw6xCkSKHhJ7b5D2r51kBiREr'); $data := $stringify($merge([$msg, { 'msg': $msgB64, 'sign': $innerSign }])); $outerSign := $md5($substring(tkEnc.tk, 0, 32) & '&' & $string($t) & '&24679788&' & $data); { 'url': 'https://acs.youku.com/h5/mopen.youku.danmu.list/1.0/?' & $sortedQueryString({ 'jsv': '2.5.6', 'appKey': '24679788', 't': $string($t), 'sign': $outerSign, 'api': 'mopen.youku.danmu.list', 'v': '1.0', 'type': 'originaljson', 'dataType': 'jsonp', 'timeout': '20000', 'jsonpIncPrefix': 'utility' }), 'body': 'data=' & $encodeUrlComponent($data) }) })] : []"
100
100
  }
101
101
  },
102
102
  {