mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-10-13 03:37:12 +02:00
refactor: output browsing data package
This commit is contained in:
1 parent
13c92b0a2e
commit
04e620e54c
8 files changed
+58
-35
No files matched your search
@@ -85,12 +85,12 @@ func pickFirefox(name, profile string) []Browser {
|
||||
}
|
||||
if multiFirefox, err := firefox.New(v.name, v.storage, profile, v.items); err == nil {
|
||||
for _, b := range multiFirefox {
|
||||
log.Noticef("find browser: firefox %s success", b.Name())
|
||||
log.Noticef("find browser firefox %s success", b.Name())
|
||||
browsers = append(browsers, b)
|
||||
}
|
||||
} else {
|
||||
if strings.Contains(err.Error(), "profile path is not exist") {
|
||||
log.Noticef("find browser: firefox %s failed, profile path is not exist", v.name)
|
||||
log.Noticef("find browser firefox %s failed, profile path is not exist", v.name)
|
||||
} else {
|
||||
log.Error(err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user