RobinT9
V2EX  ›  问与答

关于抓取 opensea 上的一个 api 求教

  •  
  •   RobinT9 · Apr 26, 2022 · 1593 views
    This topic created in 1510 days ago, the information mentioned may be changed or developed.

    遇到了一个问题比较棘手,我想要抓去 opensea 上的一个接口,比如页面 https://opensea.io/collection/eightbitme 上有一个 post 的请求 https://api.opensea.io/graphql/

    这个接口我怎么也绕不过去验证。。我在 postman 上模拟请求 header 加了的情况下一直打到 cloudflare 的防火墙拦截。。在搜索一阵子以后在代码中修改了 JA3 指纹这些数据值(代码是 golang 写的),变成了请求结果就是一直 dial 对方 ip 失败,而且 ip 一直在变。。

    求教各位有没有遇到过类似情况的。。以及有什么解决办法,多谢多谢··

    2 replies    2022-05-19 13:06:17 +08:00
    3dwelcome
        1
    3dwelcome  
       Apr 27, 2022
    我以前爬过类似网站,要绕过 cloudflare ,挺难的。

    /t/792934
    aixgA
        2
    aixgA  
       May 19, 2022
    lz 最后解决了吗,我今天也想 postman 调用下 opensea 的 graphql 接口,发现调不通,不知道 cloudflare 是根据什么拦请求的?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   871 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:02 · PVG 04:02 · LAX 13:02 · JFK 16:02
    ♥ Do have faith in what you're doing.