Skip to content

Reverse-engineer any video, shot by shot: filmed, AI-generated or coded, and how to remake it. Breakdowns in the open VIDEO.md format. 逆向一切视频,逐个镜头看是拍的、AI 生成的还是代码做的,再告诉你怎么复刻;拆解结果按 VIDEO.md 格式输出。

Find browsers in the 64-bit and per-user Windows install locations

xdAsaah6eb1e1779e57
diff --git a/rea_video/pdf.py b/rea_video/pdf.py
index 54b0f89..f776883 100644
--- a/rea_video/pdf.py
+++ b/rea_video/pdf.py
@@ -8,6 +8,8 @@ import shutil
import subprocess
from pathlib import Path
+_LOCAL = os.environ.get("LOCALAPPDATA", "") # per-user Chrome / Edge installs on Windows
+
_CANDIDATES = [
os.environ.get("REA_CHROME", ""),
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
@@ -15,7 +17,10 @@ _CANDIDATES = [
"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge",
"google-chrome", "google-chrome-stable", "chromium", "chromium-browser", "microsoft-edge", "msedge", "chrome",
r"C:\Program Files\Google\Chrome\Application\chrome.exe",
+ r"C:\Program Files\Microsoft\Edge\Application\msedge.exe",
r"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe",
+ os.path.join(_LOCAL, r"Google\Chrome\Application\chrome.exe") if _LOCAL else "",
+ os.path.join(_LOCAL, r"Microsoft\Edge\Application\msedge.exe") if _LOCAL else "",
]