MCPcopy
hub / github.com/xpzouying/xiaohongshu-mcp / newBrowser

Function newBrowser

service.go:548–550  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

546}
547
548func newBrowser() *headless_browser.Browser {
549 return browser.NewBrowser(configs.IsHeadless(), browser.WithBinPath(configs.GetBinPath()))
550}
551
552func saveCookies(page *rod.Page) error {
553 cks, err := page.Browser().GetCookies()

Callers 15

CheckLoginStatusMethod · 0.85
GetLoginQrcodeMethod · 0.85
publishContentMethod · 0.85
publishVideoMethod · 0.85
ListFeedsMethod · 0.85
SearchFeedsMethod · 0.85
UserProfileMethod · 0.85
PostCommentToFeedMethod · 0.85
LikeFeedMethod · 0.85
UnlikeFeedMethod · 0.85
FavoriteFeedMethod · 0.85

Calls 4

NewBrowserFunction · 0.92
IsHeadlessFunction · 0.92
WithBinPathFunction · 0.92
GetBinPathFunction · 0.92

Tested by

no test coverage detected