Coder Social home page Coder Social logo

jianxinlin / google-drive-online-decompression Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wilnk/google-drive-online-decompression

0.0 0.0 0.0 412 KB

使用Google Colab对Google Drive里面的压缩包进行操作,支持7z和rar以及zip等格式,引擎采用unrar和unzip以及7z

License: Apache License 2.0

Jupyter Notebook 69.34% Python 30.66%

google-drive-online-decompression's Introduction

Google-Drive-Online-Decompression V1.0

本着就方便大家的想法,写了一个在线解压。省的大家上传GD的时候很麻烦,小文件数量多上传很慢。大文件就比较快,在TG群又看大家好多人说资源都要解压版,所以就随便写了一个这个。

可以解压市面上百分之90%的压缩格式。压缩功能还在考虑,看大家需求吧,如果要的话我在写。

如果好用的话麻烦点一下右上角的Start 谢谢

使用方法:

  1. 代码拖到本地,打开Google Colab官网: https://colab.research.google.com/
git clone https://github.com/Wilnk/Google-Drive-Online-Decompression
  1. 打开文件-上传(Google_Drive_Online_Decompression.ipynb) 提示登入 登入即可。

    avatar

  2. ​ 连接Google Colab登入Google账号 绑定Google Drive授权

    avatar

  3. 获取Google Drive 的信息

    avatar

  4. 获取你要解压的文件(文件夹)路径

    直接复制路径即可

    avatar

  5. 按你的需求填入相对应的信息 ,然后运行即可。

Demo

avatar

avatar

注意事项:

1.如果因为魔法不行的 中途断流了 而导致解压关闭中断的。你直接重新运行即可,解压会自动覆盖写入。

2.如果运行中出现问题请发Issues上。

3.Google 的Colab有一个空间限制,用户分配空间就是100G左右。所以如果是强行解压超过100G的文件(比如500G的压缩文件),就会出现报错 “No such file or directory” 因为内存不够,所以无法读取。

4.尽量保持网络畅通,有些人不好的魔法就尽量换一个好一点的魔法。

5.绝大部分都能解压,我是测试过了才推上去的,很多时候都是浏览器问题!建议用谷浏览器(启用无痕模式)。

6.Colab建议采用TPU模式。因为GPU模式才分配硬盘68.4G,而TPU模式可以分配硬盘107.8G。(更改方法:Colab主界面--代码执行程序--更改运行时类型--TPU--保存)

7.遇到问题了先看看报错,错误代码复制粘贴Google或者百度搜索看看是什么问题,英文看不懂就翻译一下。如果不是自身的问题就试试通用解压和查看,还不行再关了浏览器再重新跑一遍,因为是在线解压,很吃网络。稍微断流什么的就报错。如果还是不行依旧报错,那么就请你到Issues上提交你的错误信息。

google-drive-online-decompression's People

Contributors

wilnk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.