Skip to content

Commit

Permalink
fix: use play method to get m3u8 from device
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldObservationLog committed Jun 6, 2024
1 parent b66ec88 commit 2ff9dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adb.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _inject_frida(self, frida_port):
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()
Expand Down

0 comments on commit 2ff9dce

Please sign in to comment.