Преглед изворни кода

Update stale Airbnb API identifiers from 2026-06-29 HAR audit

CreateBulkMessagesMutation hash and X-Client-Version both rotated.
ZiB пре 4 месеци
родитељ
комит
d32e60c1d9
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 2 2
      room_cal/service_api/_airbnb.py
  2. 2 2
      scripts/har_audit.py

+ 2 - 2
room_cal/service_api/_airbnb.py

@@ -44,7 +44,7 @@ class AirbnbData:
 
 _BASE = 'https://www.airbnb.com/api/v3'
 _API_KEY = 'd306zoyjsyarp7ifhu67rjxn52tv0t20'
-_CLIENT_VERSION = 'ef690fbd6464c4bd9f632ec18087662c4e4f05e1'
+_CLIENT_VERSION = 'a23d11f14e272d7560ba7132ef59139d89b26689'
 _HASHES = {
   'getDLSHostCalendar':               '048e22675ffa53121628d2d07b519b9b71f5dab342a1ceb75aa72d8814a00ea7',
   'EditPanelPricingSettingsMutation': 'e27fed4f08dd4ab4c0267c5d6c0a7e4920730deadf48f92feba9b0d08befafa4',
@@ -53,7 +53,7 @@ _HASHES = {
   'getNightlyPriceTips':              '07538bf1a5afc8171f1e7443f0007d7f020142fc7ab60df065e7e1edd1a0b29f',
   'HostCalendarListingEventsQuery':   '8bfe5f5572a25fdaff5b5790604e1de3aec5f37731fc505684022d590d06e0a8',
   'ViaductGetThreadAndDataQuery':     'c6aff32757966df45d73811219d4f3a57ae7cc9e047b39bb9ba396cd0c09defa',
-  'CreateBulkMessagesMutation':       'b0298188a93a73218fecdd512afb7b47c0df3112a4819c236ecc4c0c10c04bd2',
+  'CreateBulkMessagesMutation':       '94ac2c4bd07edace539dbf2b9665d9030b6dee479db345ba8a8bbc234b3bbfa3',
 }
 
 _AUTH_HINT = 'refresh-creds'

+ 2 - 2
scripts/har_audit.py

@@ -22,7 +22,7 @@ from pathlib import Path
 
 _AIRBNB_DOMAIN = 'www.airbnb.com'
 _AIRBNB_API_KEY = 'd306zoyjsyarp7ifhu67rjxn52tv0t20'
-_AIRBNB_CLIENT_VERSION = 'ef690fbd6464c4bd9f632ec18087662c4e4f05e1'
+_AIRBNB_CLIENT_VERSION = 'a23d11f14e272d7560ba7132ef59139d89b26689'
 
 _AIRBNB_OPS: dict[str, dict] = {
   'getDLSHostCalendar': {
@@ -54,7 +54,7 @@ _AIRBNB_OPS: dict[str, dict] = {
     'hint': 'open any guest message thread',
   },
   'CreateBulkMessagesMutation': {
-    'hash': 'b0298188a93a73218fecdd512afb7b47c0df3112a4819c236ecc4c0c10c04bd2',
+    'hash': '94ac2c4bd07edace539dbf2b9665d9030b6dee479db345ba8a8bbc234b3bbfa3',
     'hint': 'send a message in any thread',
   },
 }