dawnnnnnn / cloud189 Goto Github PK
View Code? Open in Web Editor NEW天翼云盘Mac端的Python实现
License: GNU General Public License v3.0
天翼云盘Mac端的Python实现
License: GNU General Public License v3.0
不是电信手机号只能微信登录,然后也改不了密码...就非常操蛋
Traceback (most recent call last):
File "main.py", line 98, in
fire.Fire()
File "/home/tink/Cloud189/py-env/lib/python3.8/site-packages/fire/core.py", line 138, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/tink/Cloud189/py-env/lib/python3.8/site-packages/fire/core.py", line 463, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/tink/Cloud189/py-env/lib/python3.8/site-packages/fire/core.py", line 672, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "main.py", line 20, in login
login.login(username, password)
File "/home/tink/Cloud189/functions/login_function.py", line 66, in login
redirect_url = response.json()['toUrl']
KeyError: 'toUrl'
ash-4.3# cd /root/cloud189 && python3 main.py upload /volume1/musicfun/'Pacific Moon Records'
[2020-06-08 09:53:49] [upload_file:157] [/volume1/musicfun/Pacific Moon Records]是一个文件夹,开始解析目录结构
[2020-06-08 09:53:49] [mkdir:68] 创建文件夹[Pacific Moon Records - Collection]成功,文件夹id为[6146419893988319],父文件夹id为[-11]
[2020-06-08 09:53:50] [mkdir:68] 创建文件夹[VA - Pacific Moon - 2007 - The Best Of Pacific Moon (FLAC)]成功,文件夹id为[5151019918418215],父文件夹id为[6146419893988319]
[2020-06-08 09:53:50] [mkdir:68] 创建文件夹[PMR-0022 兰ORCHID]成功,文件夹id为[6151119894166552],父文件夹id为[6146419893988319]
[2020-06-08 09:53:50] [mkdir:68] 创建文件夹[PMR-0056 侍Ⅱ SAMURAI COLLECTION]成功,文件夹id为[11446110329246496],父文件夹id为[6146419893988319]
[2020-06-08 09:53:50] [mkdir:68] 创建文件夹[PMR-0010 梦DREAM]成功,文件夹id为[11483110328229088],父文件夹id为[6146419893988319]
[2020-06-08 09:53:51] [mkdir:68] 创建文件夹[PMR-0018 雪SNOW]成功,文件夹id为[6142019891372594],父文件夹id为[6146419893988319]
[2020-06-08 09:53:51] [mkdir:68] 创建文件夹[PMR-0019-合輯-癒]成功,文件夹id为[11483110328229091],父文件夹id为[6146419893988319]
[2020-06-08 09:53:51] [mkdir:68] 创建文件夹[PMR-0032 夏SUMMER COLLECTION]成功,文件夹id为[6151119894166554],父文件夹id为[6146419893988319]
Traceback (most recent call last):
File "main.py", line 98, in
fire.Fire()
File "/opt/lib/python3.8/site-packages/fire/core.py", line 138, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/opt/lib/python3.8/site-packages/fire/core.py", line 463, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/opt/lib/python3.8/site-packages/fire/core.py", line 672, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "main.py", line 31, in upload
file_transport.upload_file(filepath, parent_folder_id)
File "/root/cloud189/functions/file_transport_function.py", line 171, in upload_file
folder_name, id, pid = self.operate.mkdir(folder_id, dir)
TypeError: cannot unpack non-iterable NoneType object
运行会不定时卡住。而且文件会全部上传在一个子文件夹中。。
[2023-03-19 19:01:09] [create_upload_file:90] 创建上传任务成功,上传节点为hb01
Traceback (most recent call last):
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1371, in getresponse
response.begin()
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 319, in begin
version, status, reason = self._read_status()
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 288, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 439, in send
resp = conn.urlopen(
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\packages\six.py", line 769, in reraise
raise value.with_traceback(tb)
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1371, in getresponse
response.begin()
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 319, in begin
version, status, reason = self._read_status()
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 288, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\myscript\189pan\b.py", line 95, in
main()
File "D:\myscript\189pan\b.py", line 10, in main
upload(filepath, parent_folder_id)
File "D:\myscript\189pan\b.py", line 28, in upload
file_transport.upload_file(filepath, parent_folder_id)
File "D:\myscript\189pan\functions\file_transport_function.py", line 192, in upload_file
self.upload_file_data(file_upload_url, upload_file_id, filepath)
File "D:\myscript\189pan\functions\file_transport_function.py", line 118, in upload_file_data
response = requests.put(url=url, data=f, headers=headers)
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 132, in put
return request('put', url, data=data, **kwargs)
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "C:\Users????\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
倒计时:剩余 1 分钟
倒计时:剩余 0 分钟
账号:密码:登录成功
已经签到过了,签到获得60M空间
{"errorCode":"User_Not_Chance","errorMsg":"sessionKey=d0033b5d-c313-41d5-9d4d-aaa8e80ebdd3,activityId=ACT_SIGNIN,ExcuteOverLimitedNumError!"}
{"errorCode":"User_Not_Chance","errorMsg":"sessionKey=d0033b5d-c313-41d5-9d4d-aaa8e80ebdd3,activityId=ACT_SIGNIN,ExcuteOverLimitedNumError!"}
Post Run actions/checkout@v2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.