Skip to content

请问执行教程中的爬取CSDN博客原码出错 #115

Description

@dyn1721

代码没改 出错情况:
java.io.IOException: gzip finished without exhausting source
at okio.GzipSource.read(GzipSource.java:100)
at okio.Buffer.writeAll(Buffer.java:1053)
at okio.RealBufferedSource.readByteArray(RealBufferedSource.java:108)
at okhttp3.ResponseBody.bytes(ResponseBody.java:137)
at cn.edu.hfut.dmic.webcollector.plugin.net.OkHttpRequester.getResponse(OkHttpRequester.java:114)
at cn.edu.hfut.dmic.webcollector.crawler.AutoParseCrawler.execute(AutoParseCrawler.java:87)
at cn.edu.hfut.dmic.webcollector.fetcher.Fetcher$FetcherThread.run(Fetcher.java:245)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions