MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    百度bike--极其简陋的百科插件

    插件发布
    18
    63
    7944
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 1397905002
      1397905002 @daisy524 last edited by

      @daisy524 下载打开了那个东西还是不行。。。

      1 Reply Last reply Reply Quote 0
      • 1397905002
        1397905002 @daisy524 last edited by

        @daisy524 上一个问题解决了。但是新的问题出现了,以下是新错误报告:
        截图中....

        DevTools listening on ws://127.0.0.1:9589/devtools/browser/b1b6e345-76c8-4094-86a5-0eb2b2f3e771
        [0228/191340.346:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
        错误类型是 NoSuchElementException
        错误明细是 Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[2]/div[2]/div"}
        (Session info: headless chrome=98.0.4758.102)
        Stacktrace:
        Backtrace:
        Ordinal0 [0x011769A3+2582947]
        Ordinal0 [0x0110A6D1+2139857]
        Ordinal0 [0x01003A98+1063576]
        Ordinal0 [0x0102FF3E+1244990]
        Ordinal0 [0x0103013B+1245499]
        Ordinal0 [0x01059F52+1417042]
        Ordinal0 [0x01048594+1344916]
        Ordinal0 [0x0105834A+1409866]
        Ordinal0 [0x01048366+1344358]
        Ordinal0 [0x01025176+1200502]
        Ordinal0 [0x01026066+1204326]
        GetHandleVerifier [0x0131BE02+1675858]
        GetHandleVerifier [0x013D036C+2414524]
        GetHandleVerifier [0x0120BB01+560977]
        GetHandleVerifier [0x0120A8D3+556323]
        Ordinal0 [0x0111020E+2163214]
        Ordinal0 [0x01115078+2183288]
        Ordinal0 [0x011151C0+2183616]
        Ordinal0 [0x0111EE1C+2223644]
        BaseThreadInitThunk [0x757CFA29+25]
        RtlGetAppContainerNamedObjectPath [0x77047A9E+286]
        RtlGetAppContainerNamedObjectPath [0x77047A6E+238]

        1397905002 2 Replies Last reply Reply Quote 0
        • 1397905002
          1397905002 @1397905002 last edited by

          @1397905002 补充。成功百度了一次,有截图,但是控制台依旧报错很多,下面是错误报告,希望对你有所帮助。
          [0228/191505.386:INFO:CONSOLE(0)] "[Report Only] Refused to load the image 'http://pic.rmb.bdstatic.com/77c597c5f22a11fb256f5f7fdb6ec23c.jpeg@c_1,w_549,h_549,x_52,y_45' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
          ", source: https://baike.baidu.com/item/ bilibili (0)
          [0228/191505.387:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://baike.baidu.com/item/ bilibili' was loaded over HTTPS, but requested an insecure element 'http://pic.rmb.bdstatic.com/77c597c5f22a11fb256f5f7fdb6ec23c.jpeg@c_1,w_549,h_549,x_52,y_45'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html", source: https://baike.baidu.com/item/ bilibili (0)
          [0228/191505.388:INFO:CONSOLE(0)] "[Report Only] Refused to load the image 'http://pic.rmb.bdstatic.com/26874718d0e7b9ea7352ff8b03c8636d.jpeg' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
          ", source: https://baike.baidu.com/item/ bilibili (0)
          [0228/191505.388:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://baike.baidu.com/item/ bilibili' was loaded over HTTPS, but requested an insecure element 'http://pic.rmb.bdstatic.com/26874718d0e7b9ea7352ff8b03c8636d.jpeg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html", source: https://baike.baidu.com/item/ bilibili (0)
          [0228/191506.896:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
          ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_de3bb3a.js (79)
          [0228/191507.074:INFO:CONSOLE(91)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/baike/log' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
          ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_de3bb3a.js (91)
          [0228/191507.079:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
          ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_de3bb3a.js (79)
          [0228/191507.222:INFO:CONSOLE(0)] "[Report Only] Refused to load the image 'http://pic.rmb.bdstatic.com/77c597c5f22a11fb256f5f7fdb6ec23c.jpeg@c_1,w_549,h_549,x_52,y_45' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
          ", source: https://baike.baidu.com/item/ bilibili (0)
          [0228/191507.223:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://baike.baidu.com/item/ bilibili' was loaded over HTTPS, but requested an insecure element 'http://pic.rmb.bdstatic.com/77c597c5f22a11fb256f5f7fdb6ec23c.jpeg@c_1,w_549,h_549,x_52,y_45'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html", source: https://baike.baidu.com/item/ bilibili (0)
          [0228/191507.224:INFO:CONSOLE(0)] "[Report Only] Refused to load the image 'http://pic.rmb.bdstatic.com/26874718d0e7b9ea7352ff8b03c8636d.jpeg' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
          ", source: https://baike.baidu.com/item/ bilibili (0)
          [0228/191507.224:INFO:CONSOLE(0)] "Mixed Content: The page at 'https://baike.baidu.com/item/ bilibili' was loaded over HTTPS, but requested an insecure element 'http://pic.rmb.bdstatic.com/26874718d0e7b9ea7352ff8b03c8636d.jpeg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html", source: https://baike.baidu.com/item/ bilibili (0)
          [0228/191507.437:ERROR:sdp_offer_answer.cc(3116)] The order of m-lines in subsequent offer doesn't match order from previous offer/answer. (INVALID_PARAMETER)
          [0228/191507.438:ERROR:sdp_offer_answer.cc(1915)] Failed to set local offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer.
          [0228/191508.913:INFO:CONSOLE(211)] "[object DOMException]", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_de3bb3a.js (211)

          1 Reply Last reply Reply Quote 0
          • 1397905002
            1397905002 @1397905002 last edited by

            @1397905002 在 百度bike--极其简陋的百科插件 中说:

            @daisy524 上一个问题解决了。但是新的问题出现了,以下是新错误报告:
            截图中....

            DevTools listening on ws://127.0.0.1:9589/devtools/browser/b1b6e345-76c8-4094-86a5-0eb2b2f3e771
            [0228/191340.346:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
            错误类型是 NoSuchElementException
            错误明细是 Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[2]/div[2]/div"}
            (Session info: headless chrome=98.0.4758.102)
            Stacktrace:
            Backtrace:
            Ordinal0 [0x011769A3+2582947]
            Ordinal0 [0x0110A6D1+2139857]
            Ordinal0 [0x01003A98+1063576]
            Ordinal0 [0x0102FF3E+1244990]
            Ordinal0 [0x0103013B+1245499]
            Ordinal0 [0x01059F52+1417042]
            Ordinal0 [0x01048594+1344916]
            Ordinal0 [0x0105834A+1409866]
            Ordinal0 [0x01048366+1344358]
            Ordinal0 [0x01025176+1200502]
            Ordinal0 [0x01026066+1204326]
            GetHandleVerifier [0x0131BE02+1675858]
            GetHandleVerifier [0x013D036C+2414524]
            GetHandleVerifier [0x0120BB01+560977]
            GetHandleVerifier [0x0120A8D3+556323]
            Ordinal0 [0x0111020E+2163214]
            Ordinal0 [0x01115078+2183288]
            Ordinal0 [0x011151C0+2183616]
            Ordinal0 [0x0111EE1C+2223644]
            BaseThreadInitThunk [0x757CFA29+25]
            RtlGetAppContainerNamedObjectPath [0x77047A9E+286]
            RtlGetAppContainerNamedObjectPath [0x77047A6E+238]

            这个问题应该是百科没有相关词导致的,大概没有问题

            daisy524 1 Reply Last reply Reply Quote 0
            • daisy524
              daisy524 @1397905002 last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • imi-123
                imi-123 last edited by imi-123

                小白求助
                我把插件放在d盘会显示
                截图中....
                错误类型是 WebDriverException
                错误明细是 Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home
                那个文件我已经放好在python目录下了,并且创建的py文件是可以打开百度的
                然后我把插件直接放在C盘python目录下,就可以发出图片了,但会出现一堆错误提示,,而且要很久才能发出图片
                并且有时候指令要发两遍才会有反应

                截图中....

                DevTools listening on ws://127.0.0.1:64957/devtools/browser/e8dccdf4-730b-4bd4-ac81-cc37bf1f8842
                [0304/001412.455:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                [0304/001413.014:INFO:CONSOLE(14)] "[Report Only] Refused to load the image 'http://baikebcs.bdimg.com/cms/static/baike-icon.svg' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
                ", source: https://baike.baidu.com/item/ 乌龟/360557 (14)
                [0304/001413.932:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -101
                [0304/001413.933:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -101
                [0304/001414.695:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (79)
                [0304/001414.817:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                [0304/001414.828:INFO:CONSOLE(91)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/baike/log' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (91)
                [0304/001414.833:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (79)
                [0304/001414.835:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                [0304/001414.837:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                [0304/001414.840:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                [0304/001414.842:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                [0304/001414.843:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                [0304/001414.847:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                [0304/001424.610:INFO:CONSOLE(91)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/baike/log' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (91)

                daisy524 1 Reply Last reply Reply Quote 0
                • daisy524
                  daisy524 @imi-123 last edited by

                  @imi-123 把chromedriver添加到系统环境变量里试试, 你打开cmd,输入chromedriver,如果有信息,说明就添加成功了

                  右键点击‘我的电脑’,选择属性
                  点击高级系统设置
                  点击环境变量
                  在系统变量中找到Path并双击
                  将chomedriver.exe的路径复制到最后
                  然后点击确定(注意:每个确定都要点)

                  详细可以看这个

                  imi-123 1 Reply Last reply Reply Quote 0
                  • daisy524
                    daisy524 @1397905002 last edited by

                    @1397905002 这种应该是在删除广告的时候没有找到对应的节点,到时候我加个try

                    1 Reply Last reply Reply Quote 0
                    • imi-123
                      imi-123 @daisy524 last edited by

                      @daisy524 感谢大佬,添加环境变量之后可以发出截图了,但是还是会出现错误

                      imi-123 1 Reply Last reply Reply Quote 0
                      • imi-123
                        imi-123 @imi-123 last edited by

                        @imi-123 在 百度bike--极其简陋的百科插件 中说:

                        @daisy524 感谢大佬,添加环境变量之后可以发出截图了,但是还是会出现错误

                        截图中....

                        DevTools listening on ws://127.0.0.1:58224/devtools/browser/0a9e2598-7ee6-4ea8-953f-af96a1d22c24
                        [0304/120054.678:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                        [0304/120054.965:INFO:CONSOLE(14)] "[Report Only] Refused to load the image 'http://baikebcs.bdimg.com/cms/static/baike-icon.svg' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
                        ", source: https://baike.baidu.com/item/ 飞机/70237 (14)
                        [0304/120055.174:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.175:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.390:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                        ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (79)
                        [0304/120055.513:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -100
                        [0304/120055.514:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.524:INFO:CONSOLE(91)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/baike/log' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                        ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (91)
                        [0304/120055.528:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                        ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (79)
                        [0304/120055.531:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.534:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.537:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.539:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.540:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.541:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.544:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.548:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.549:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.626:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.629:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -100
                        [0304/120055.631:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -100
                        [0304/120055.650:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.653:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.654:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.656:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.658:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.659:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.661:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.662:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.664:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.668:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -100
                        [0304/120055.670:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.671:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.671:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.672:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.675:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.675:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.677:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.678:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.679:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.682:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.683:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.686:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -100
                        [0304/120055.689:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -100
                        [0304/120055.734:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.736:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.738:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.739:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.740:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.742:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -101
                        [0304/120055.743:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -101
                        [0304/120055.758:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        [0304/120055.790:ERROR:sdp_offer_answer.cc(2129)] Failed to set local offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer.
                        [0304/120055.811:ERROR:socket_manager.cc(128)] Failed to resolve address for stun.services.mozilla.com., errorcode: -105
                        [0304/120055.811:ERROR:socket_manager.cc(128)] Failed to resolve address for stun.services.mozilla.com., errorcode: -105
                        [0304/120056.656:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1, net_error -103
                        {2E452737-BD66-49E6-4E31-5656CE9E6429}.jpg

                        daisy524 1 Reply Last reply Reply Quote 0
                        • daisy524
                          daisy524 @imi-123 last edited by

                          @imi-123 你挂代理没,这个报错好像是挂代理的问题,关了试试

                          imi-123 1 Reply Last reply Reply Quote 0
                          • imi-123
                            imi-123 @daisy524 last edited by

                            @daisy524 关了还是会有这样的错误
                            截图中....

                            DevTools listening on ws://127.0.0.1:51032/devtools/browser/b92f8280-0dae-4899-8cbe-a55cd073b56e
                            [0304/122954.179:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                            [0304/122954.803:INFO:CONSOLE(14)] "[Report Only] Refused to load the image 'http://baikebcs.bdimg.com/cms/static/baike-icon.svg' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
                            ", source: https://baike.baidu.com/item/ 俄罗斯/125568 (14)
                            [0304/122955.536:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                            ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (79)
                            [0304/122955.719:INFO:CONSOLE(91)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/baike/log' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                            ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (91)
                            [0304/122955.725:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                            ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (79)
                            [0304/122956.036:ERROR:sdp_offer_answer.cc(2129)] Failed to set local offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer.
                            [0304/122956.171:ERROR:socket_manager.cc(128)] Failed to resolve address for stun.services.mozilla.com., errorcode: -105
                            [0304/122956.172:ERROR:socket_manager.cc(128)] Failed to resolve address for stun.services.mozilla.com., errorcode: -105

                            daisy524 1 Reply Last reply Reply Quote 0
                            • daisy524
                              daisy524 @imi-123 last edited by

                              @imi-123 看着像玄学问题,参考这个帖子

                              1 Reply Last reply Reply Quote 0
                              • 冰
                                冰丶凝梦 last edited by

                                有些词可以百度成功,但有些会失败报错,如下

                                百度 可莉
                                截图中....

                                DevTools listening on ws://127.0.0.1:60682/devtools/browser/f54d7aa7-baeb-4c41-9911-8fae8f3036a9
                                [0305/004809.420:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                                [0305/004810.226:INFO:CONSOLE(14)] "[Report Only] Refused to load the image 'http://baikebcs.bdimg.com/cms/static/baike-icon.svg' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
                                ", source: https://baike.baidu.com/item/ 可莉 (14)
                                [0305/004810.440:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                                ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (79)
                                [0305/004810.479:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
                                ", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (79)
                                [0305/004810.591:ERROR:sdp_offer_answer.cc(2129)] Failed to set local offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer.
                                错误类型是 NoSuchElementException
                                错误明细是 Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[2]/div[2]/div"}
                                (Session info: headless chrome=99.0.4844.51)
                                Stacktrace:
                                Backtrace:
                                Ordinal0 [0x00D49943+2595139]
                                Ordinal0 [0x00CDC9F1+2148849]
                                Ordinal0 [0x00BD4528+1066280]
                                Ordinal0 [0x00C00FD4+1249236]
                                Ordinal0 [0x00C011CB+1249739]
                                Ordinal0 [0x00C2D812+1431570]
                                Ordinal0 [0x00C1BA34+1358388]
                                Ordinal0 [0x00C2BAF2+1424114]
                                Ordinal0 [0x00C1B806+1357830]
                                Ordinal0 [0x00BF6086+1204358]
                                Ordinal0 [0x00BF6F96+1208214]
                                GetHandleVerifier [0x00EEB232+1658114]
                                GetHandleVerifier [0x00FA312C+2411516]
                                GetHandleVerifier [0x00DDF261+560433]
                                GetHandleVerifier [0x00DDE366+556598]
                                Ordinal0 [0x00CE286B+2173035]
                                Ordinal0 [0x00CE75F8+2192888]
                                Ordinal0 [0x00CE76E5+2193125]
                                Ordinal0 [0x00CF11FC+2232828]
                                BaseThreadInitThunk [0x753C6739+25]
                                RtlGetFullPathName_UEx [0x77408E7F+1215]
                                RtlGetFullPathName_UEx [0x77408E4D+1165]

                                daisy524 1 Reply Last reply Reply Quote 0
                                • daisy524
                                  daisy524 @冰丶凝梦 last edited by

                                  @冰丶凝梦 失败应该是因为百科里没有这个词,所有没有找到节点

                                  冰 1 Reply Last reply Reply Quote 0
                                  • 冰
                                    冰丶凝梦 @daisy524 last edited by

                                    @daisy524 可是我去百度百科,都有这些个词呀(

                                    daisy524 2 Replies Last reply Reply Quote 0
                                    • daisy524
                                      daisy524 @冰丶凝梦 last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • daisy524
                                        daisy524 @冰丶凝梦 last edited by

                                        @冰丶凝梦 你这报错跟上面的老哥差不多,应该不是节点的关系,我没遇到过这个报错,而且网上能搜到的关于这个报错的信息少的离谱,太玄学了,建议重启试试(dog)

                                        CCYellowStar 1 Reply Last reply Reply Quote 0
                                        • CCYellowStar
                                          CCYellowStar @daisy524 last edited by

                                          @daisy524 我跟楼上那个一样,百度某些就会报错,我百度可莉也跟他差不多的报错,

                                          1 Reply Last reply Reply Quote 0
                                          • 卿
                                            卿云烂兮 @Yokeagoni last edited by

                                            @Yokeagoni linux 安装

                                            1、下载并安装最新的Google Chrome版本
                                            执行如下命令:

                                            wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
                                            sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb

                                            如果因为依赖问题安装失败
                                            sudo apt-get update # 更新
                                            sudo apt-get -f install # 解决依赖关系
                                            sudo dpkg -i xxx.deb # 重新安装

                                            2、下载并安装最新的amd64 chromedriver版本
                                            两种方式(其实是两个不同网址,但文件都一样):
                                            (1) 链接地址
                                            https://chromedriver.storage.googleapis.com/index.html
                                            打开以上网址,可以查看到各种对应chrome浏览器的chromedriver版本

                                            手动下载需要的版本,也可以用wget下载
                                            (2)执行如下命令(第一条用于获取最新版本号,第二条用于下载):

                                            LATEST=$(wget -q -O - http://chromedriver.storage.googleapis.com/LATEST_RELEASE)
                                            wget http://chromedriver.storage.googleapis.com/$LATEST/chromedriver_linux64.zip
                                            上面两种方式任选一个就可以了,下载后解压得到chromedriver
                                            解压缩命令:unzip chromedriver_linux64.zip
                                            然后添加执行权限:chmod +x chromedriver
                                            把它移动到“/usr/bin”目录下:sudo mv chromedriver /usr/bin/
                                            3、安装selenium

                                            pip install selenium

                                            4、升级requests包

                                            pip install requests

                                            Yokeagoni 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact