Git Product home page Git Product logo

Comments (5)

navicstein avatar navicstein commented on June 3, 2024

I'm still having this problem too, I'm trying to create a google meet bot to automatically join & record calls with MediaRecorder as an extension running in the background, but even using this plugin, google meet still detects it as a bot

package main

import (
	"time"

	"github.com/go-rod/rod"
	"github.com/go-rod/rod/lib/launcher"
	"github.com/go-rod/rod/lib/proto"

	"github.com/go-rod/stealth"
)

func main() {
	url := "https://meet.google.com/rck-cbnr-smb"

	l := launcher.New().Set("use-fake-ui-for-media-stream").Set("use-fake-device-for-media-stream").Headless(false).NoSandbox(true).Set("--allow-google-chromefile-access").Set("--lang", "en").Bin("/usr/bin/brave-browser").MustLaunch()
	browser := rod.New().ControlURL(l).MustConnect()

	page := stealth.MustPage(browser)

	proto.BrowserGrantPermissions{
		Origin:      "https://meet.google.com",
		Permissions: []proto.BrowserPermissionType{"camera", "microphone", "notifications"},
	}.Call(page)

	page.MustNavigate(url)
	page.MustWaitRequestIdle()

	//test
	time.Sleep(time.Second * 10)
	page.MustScreenshot("meet.png")

}

meet

from stealth.

ysmood avatar ysmood commented on June 3, 2024

We don't need stealth to work with google products.

from stealth.

navicstein avatar navicstein commented on June 3, 2024

Really? the actual problem is that Meet won't open & sees the head-full browser as a bot, even without the stealth I still get the message from google meet

from stealth.

ysmood avatar ysmood commented on June 3, 2024

Works fine to me, might be your user-agent problem.

from stealth.

zumlex avatar zumlex commented on June 3, 2024

Works fine to me, might be your user-agent problem.

Thank you.

from stealth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.