File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export class BluelinkCanada extends Bluelink {
33
33
language : '0' ,
34
34
brand : this . apiHost === 'mybluelink.ca' ? 'H' : 'kia' ,
35
35
offset : this . getTimeZone ( ) . slice ( 0 , 3 ) ,
36
- 'User-Agent' : 'MyHyundai/2.0.25 (iPhone; iOS 18.3; Scale/3.00)' ,
36
+ 'User-Agent' : config . manufacturer === 'kia' ? 'okhttp/4.12.0' : 'MyHyundai/2.0.25 (iPhone; iOS 18.3; Scale/3.00)' ,
37
37
}
38
38
this . authHeader = 'Accesstoken'
39
39
this . tempLookup = {
@@ -100,8 +100,8 @@ export class BluelinkCanada extends Bluelink {
100
100
await req . load ( )
101
101
if ( req . response . cookies ) {
102
102
for ( const cookie of req . response . cookies ) {
103
- if ( cookie . name . toLowerCase ( ) === 'dtcookie ' ) {
104
- return `dtCookie =${ cookie . value } `
103
+ if ( cookie . name . toLowerCase ( ) === '__cf_bm ' ) {
104
+ return `__cf_bm =${ cookie . value } `
105
105
}
106
106
}
107
107
}
You can’t perform that action at this time.
0 commit comments