Open http://192.168.1.10:8080/videomgr.html#/modet in Firefox
F12 → Console
Add Set to remove duplicates:
[...new Set(
[...document.querySelectorAll("a[href*='/v/modet/']")].map(a => a.href)
)].join("\n")
Explanation:
querySelectorAll → all <a>
map(a => a.href) → array of hrefs
new Set(...) → keeps only unique values
[...new Set(...)] → back to array for join("\n")
Copy output → save as list.txt
mkdir ipcam10
nano list.txt → Ctrl + Shift + V
mv list.txt ipcam10
wget -i list.txt --base=http://192.168.1.10:8080/v/modet/
No comments:
Post a Comment