久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='R2LhA'><style id='R2LhA'><dir id='R2LhA'><q id='R2LhA'></q></dir></style></legend>
    <bdo id='R2LhA'></bdo><ul id='R2LhA'></ul>
  • <i id='R2LhA'><tr id='R2LhA'><dt id='R2LhA'><q id='R2LhA'><span id='R2LhA'><b id='R2LhA'><form id='R2LhA'><ins id='R2LhA'></ins><ul id='R2LhA'></ul><sub id='R2LhA'></sub></form><legend id='R2LhA'></legend><bdo id='R2LhA'><pre id='R2LhA'><center id='R2LhA'></center></pre></bdo></b><th id='R2LhA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='R2LhA'><tfoot id='R2LhA'></tfoot><dl id='R2LhA'><fieldset id='R2LhA'></fieldset></dl></div>
  • <small id='R2LhA'></small><noframes id='R2LhA'>

      <tfoot id='R2LhA'></tfoot>

        使用 python 和 selenium 進(jìn)行自動(dòng)化 Google 登錄顯示“

        Automation Google login with python and selenium shows quot;quot;This browser or app may be not securequot;quot;(使用 python 和 selenium 進(jìn)行自動(dòng)化 Google 登錄顯示“此瀏覽器或應(yīng)用程序可能不安全“) - IT屋-程序員軟
          • <i id='37DRw'><tr id='37DRw'><dt id='37DRw'><q id='37DRw'><span id='37DRw'><b id='37DRw'><form id='37DRw'><ins id='37DRw'></ins><ul id='37DRw'></ul><sub id='37DRw'></sub></form><legend id='37DRw'></legend><bdo id='37DRw'><pre id='37DRw'><center id='37DRw'></center></pre></bdo></b><th id='37DRw'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='37DRw'><tfoot id='37DRw'></tfoot><dl id='37DRw'><fieldset id='37DRw'></fieldset></dl></div>

            1. <tfoot id='37DRw'></tfoot>

              <small id='37DRw'></small><noframes id='37DRw'>

            2. <legend id='37DRw'><style id='37DRw'><dir id='37DRw'><q id='37DRw'></q></dir></style></legend>

                <tbody id='37DRw'></tbody>
                • <bdo id='37DRw'></bdo><ul id='37DRw'></ul>
                • 本文介紹了使用 python 和 selenium 進(jìn)行自動(dòng)化 Google 登錄顯示“"此瀏覽器或應(yīng)用程序可能不安全“"的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我嘗試使用 Gmail 或任何 Google 服務(wù)登錄,但它顯示以下此瀏覽器或應(yīng)用程序可能不安全";留言:

                  I've tried login with Gmail or any Google services but it shows the following "This browser or app may not be secure" message:

                  我還嘗試在我的賬戶中啟用安全性較低的應(yīng)用等選項(xiàng),但沒有成功.然后我創(chuàng)建了一個(gè)新的谷歌帳戶,它對(duì)我有用.但不是我的舊賬戶.

                  I also tried to do options like enable less secure app in my acc but it didn't work. then I made a new google account and it worked with me. but not with my old acc.

                  1. 我該如何解決這個(gè)問題?
                  2. 如何在普通的 chrome 瀏覽器中打開 selenium,而不是由自動(dòng)化軟件控制的瀏覽器?

                    這是我的代碼

                      from selenium.webdriver import Chrome
                      from selenium.webdriver.chrome.options import Options
                  
                  
                      browser = webdriver.Chrome()
                      browser.get('https://accounts.google.com/servicelogin')
                      search_form = browser.find_element_by_id("identifierId")
                      search_form.send_keys('mygmail')
                      nextButton = browser.find_elements_by_xpath('//*[@id ="identifierNext"]') 
                      search_form.send_keys('password')
                      nextButton[0].click() 
                  

                  推薦答案

                  首先不要使用chrome和chromedriver.您需要使用 Firefox.(如果未安裝)下載并安裝 Firefox.使用普通 Firefox 登錄 Google.

                  First of all don't use chrome and chromedriver. You need to use Firefox.(if not installed) Download and install Firefox. Login to Google with normal Firefox.

                  您需要向 Google 網(wǎng)站表明您不是機(jī)器人.你可以使用這樣的代碼:

                  You need to show the Google site that you are not a robot. You can use code like this:

                  from selenium import webdriver
                  import geckodriver_autoinstaller
                  from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
                  
                  geckodriver_autoinstaller.install()
                  
                  profile = webdriver.FirefoxProfile(
                      '/Users/<user name>/Library/Application Support/Firefox/Profiles/xxxxx.default-release')
                  
                  profile.set_preference("dom.webdriver.enabled", False)
                  profile.set_preference('useAutomationExtension', False)
                  profile.update_preferences()
                  desired = DesiredCapabilities.FIREFOX
                  
                  driver = webdriver.Firefox(firefox_profile=profile,
                                             desired_capabilities=desired)
                  

                  這 可以幫助您找到您的個(gè)人資料位置.

                  This can help you find your profile location.

                  其實(shí)只有一個(gè)原因,chromedriver 是谷歌編碼的.他們可以很容易地理解它是否是機(jī)器人.但是當(dāng)我們用 Firefox 添加用戶數(shù)據(jù)時(shí),他們無法理解是否存在 bot.

                  Actually there is only one reason, chromedriver was coded by Google. They can easily understand if it is a bot or not. But when we add user data with Firefox, they cannot understand if there is a bot or not.

                  你可以這樣欺騙 Google.它也對(duì)我有用.我非常努力地做到這一點(diǎn).希望它也能在你身上得到解決.

                  You can fool Google like this. It worked for me too. I tried very hard to do this. Hope it will be resolved in you too.

                  這篇關(guān)于使用 python 和 selenium 進(jìn)行自動(dòng)化 Google 登錄顯示“"此瀏覽器或應(yīng)用程序可能不安全“"的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個(gè)在 Python 中提供角色的不和諧機(jī)器人?)
                  Discord bot isn#39;t responding to commands(Discord 機(jī)器人沒有響應(yīng)命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關(guān)于我嗎?Discord 機(jī)器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機(jī)器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動(dòng)更改角色顏色)
                  • <bdo id='3wxsn'></bdo><ul id='3wxsn'></ul>

                      <tfoot id='3wxsn'></tfoot>
                      • <small id='3wxsn'></small><noframes id='3wxsn'>

                          <tbody id='3wxsn'></tbody>
                        <legend id='3wxsn'><style id='3wxsn'><dir id='3wxsn'><q id='3wxsn'></q></dir></style></legend>

                          <i id='3wxsn'><tr id='3wxsn'><dt id='3wxsn'><q id='3wxsn'><span id='3wxsn'><b id='3wxsn'><form id='3wxsn'><ins id='3wxsn'></ins><ul id='3wxsn'></ul><sub id='3wxsn'></sub></form><legend id='3wxsn'></legend><bdo id='3wxsn'><pre id='3wxsn'><center id='3wxsn'></center></pre></bdo></b><th id='3wxsn'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='3wxsn'><tfoot id='3wxsn'></tfoot><dl id='3wxsn'><fieldset id='3wxsn'></fieldset></dl></div>

                            主站蜘蛛池模板: 国产精品久久久久久久久图文区 | 久草www| 亚洲成人精品 | 99精品一区二区三区 | 免费午夜剧场 | 日批免费观看 | 91九色麻豆 | 懂色tv| 中文字幕1区2区3区 日韩在线视频免费观看 | 二区久久| 亚洲精品久久久一区二区三区 | 成年免费大片黄在线观看岛国 | 亚洲精品中文字幕中文字幕 | 中文字幕综合 | 一区二区三区在线免费 | 午夜影视大全 | 成人二区 | 精品国产黄a∨片高清在线 成人区精品一区二区婷婷 日本一区二区视频 | 91精品久久久 | 久久大全 | 国产黄色av网站 | 欧美一级淫片免费视频黄 | 精品久久久久一区二区国产 | 免费视频一区二区 | 91精品国产综合久久久久久蜜臀 | 天天艹日日干 | 91久久国产综合久久91精品网站 | 日本视频一区二区 | 羞羞的视频在线观看 | 欧美日韩综合 | 国产亚洲二区 | 在线视频 亚洲 | 亚洲成人av | 久久午夜电影 | 91精品国产综合久久精品图片 | 羞羞的视频免费看 | 精品一区久久 | 播放一级黄色片 | 日韩伦理一区二区三区 | 亚洲一区二区三区欧美 | 黄色网址在线免费播放 |