Downloader.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:enigma2-openpli-fulan 作者: Taapat 项目源码 文件源码
def gotHeaders(self, headers):
        if self.status == "200":
            if "content-length" in headers:
                self.totalbytes = int(headers["content-length"][0])
            else:
                self.totalbytes = 0
            self.currentbytes = 0.0
        return client.HTTPDownloader.gotHeaders(self, headers)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号