feat: get the best m3u8 without binding device and account (maybe)

This commit is contained in:
WorldObservationLog
2024-06-01 23:20:21 +08:00
parent c04ce9cb75
commit 6cff403139
2 changed files with 22 additions and 1 deletions

View File

@@ -194,7 +194,7 @@ class Device:
self.fridaDevice = frida.get_device_manager().get_device(self.device.serial)
self.pid = self.fridaDevice.spawn("com.apple.android.music")
self.fridaSession = self.fridaDevice.attach(self.pid)
with open("m3u8.js", "r") as f:
with open("m3u8_sv.js", "r") as f:
m3u8_script = f.read()
self.m3u8Script = self.fridaSession.create_script(m3u8_script)
self.m3u8Script.load()