reloop
V2EX  ›  问与答

google 自定义搜索结果空白

  •  
  •   reloop · Dec 25, 2013 · 4151 views
    This topic created in 4568 days ago, the information mentioned may be changed or developed.
    6 replies    2014-07-18 14:45:17 +08:00
    reloop
        1
    reloop  
    OP
       Dec 25, 2013
    ooof
        2
    ooof  
       Dec 25, 2013
    都有搜索结果的。
    caomu
        3
    caomu  
       Dec 25, 2013   ❤️ 1
    测试正常。

    你看看网络请求(chrome等浏览器的f12开发者工具或者wireshark),google cse是异步调用 https://www.googleapis.com/customsearch/v1element 这个api来展示搜索结果的。其中 googleapis.com 可能会被墙。建议写hosts,然后强制https(chrome下设置HSTS或者用https everywhere扩展)。
    xinhugo
        4
    xinhugo  
       Dec 25, 2013
    使用浏览器控制台或Fiddler,看看是什么资源加载失败了。
    reloop
        5
    reloop  
    OP
       Dec 26, 2013
    @caomu
    @xinhugo
    @ooof
    谢谢大家!! 今天暂时又无故正常了!
    bezierwill
        6
    bezierwill  
       Jul 18, 2014
    @caomu 把googleapi.com加入代理有效果!看来是googleapi.com被墙了!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   822 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 20:25 · PVG 04:25 · LAX 13:25 · JFK 16:25
    ♥ Do have faith in what you're doing.