MiraiForum

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

    Image.queryUrl(image)获取的链接显示找不到

    BUG反馈
    3
    5
    777
    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.
    • 9
      9108 last edited by

      String imageUrl = Image.queryUrl(image);

      System.out.println(imageUrl);
      输出的链接打开显示找不到页面。上周同样的代码获取到的链接打开可以看到我想要获取的图片。
      具体链接如下
      http://gchat.qpic.cn/gchatpic_new/2937718557/0-0-9857B3036B0AAFACC984B103F9A38186/0?term=2
      具体代码如下
      acbbf4af-891c-4b62-9cfb-f436b5ae8288-7a996b51a45c44d883565e45f9cde27e.png

      1 Reply Last reply Reply Quote 0
      • Dituon
        Dituon last edited by

        腾讯改了新版QQ的图片协议

        9 1 Reply Last reply Reply Quote 0
        • 9
          9108 @Dituon last edited by

          @Dituon 有解决措施吗

          1 Reply Last reply Reply Quote 0
          • 9
            9108 last edited by

            试图吸引大佬注意到这个问题

            1 Reply Last reply Reply Quote 0
            • H
              HMMT last edited by

              现在好像返回的是两个链接 和qq的版本有关系 ntqq发送的图片通过url拿的大部分都有问题 但是旧版qq和手机qq有概率可以获取

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