Commit cef9f33
Use hardcoded JWT token in AppleAppStoreBridge (RSS-Bridge#4803)
* Use hardcoded JWT token in AppleAppStoreBridge
Replaces the dynamic extraction of the JWT token from the page meta tag with a hardcoded token, as the previous method stopped working. The token is sourced from Apple's own JavaScript and is valid until January 26, 2026.
* Refactor AppleAppStoreBridge to simplify token handling
Removed the getJWTToken() method and inlined the hardcoded JWT token directly into getAppData(). Updated HTTP headers for API requests to better mimic browser behavior and improve compatibility.
* Split long JWT token string for readability
* Fix long JWT token string concatenation style
* Disable and re-enable PHPCS rule for token assignment
* Update hardcoded Apple App Store token
Replaced the hardcoded JWT token and its reference to the latest version from Apple's JavaScript source.1 parent d3c36c8 commit cef9f33
1 file changed
+15
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
134 | 122 | | |
135 | | - | |
136 | | - | |
137 | | - | |
| 123 | + | |
| 124 | + | |
138 | 125 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
147 | 131 | | |
148 | 132 | | |
149 | 133 | | |
150 | 134 | | |
151 | 135 | | |
| 136 | + | |
152 | 137 | | |
| 138 | + | |
153 | 139 | | |
154 | | - | |
| 140 | + | |
| 141 | + | |
155 | 142 | | |
156 | 143 | | |
157 | 144 | | |
| |||
0 commit comments