mo-san / niconico-tools Goto Github PK
View Code? Open in Web Editor NEWa niconico oriented tool.
a niconico oriented tool.
以下のコマンドでダウンロードを試行すると途中でアクセスが切断されてしまいます。
nicotools download --limit 1 -cv -x http://www.nicovideo.jp/watch/sm31807439
[ INFO ] (1/1) ID: sm31807439 (【厳選】奇妙ゲーム集FINAL【PS1】) のコメントをダウンロードします。
[ INFO ] C:\Users\username\Desktop\sm31807439_【厳選】奇妙ゲーム集FINAL【PS1】.xml に保存しました。
[ INFO ] (1/1) ID: sm31807439 (【厳選】奇妙ゲーム集FINAL【PS1】) の動画をダウンロードします。
31%|████████████▌ | 140M/446M [05:00<09:39, 528kB/s][ INFO ] C:\Users\username\Desktop\sm31807439_【厳選】奇妙ゲーム集FINAL【PS1】.mp4 に保存しました。
Traceback (most recent call last):
File "c:\users\username\anaconda3\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\users\username\anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\username\Anaconda3\Scripts\nicotools.exe_main.py", line 9, in
File "c:\users\username\anaconda3\lib\site-packages\nicotools_init.py", line 82, in main
return args.func(args)
File "c:\users\username\anaconda3\lib\site-packages\nicotools\download.py", line 1353, in main
logger=logger, division=args.limit, multiline=args.nomulti, smile=args.smile).start()
File "c:\users\username\anaconda3\lib\site-packages\nicotools\download.py", line 527, in start
VideoDmc(dmc_list, self.commons).callee()
File "c:\users\username\anaconda3\lib\site-packages\nicotools\download.py", line 706, in callee
self.loop.run_until_complete(self._broker(xml))
File "c:\users\username\anaconda3\lib\asyncio\base_events.py", line 468, in run_until_complete
return future.result()
File "c:\users\username\anaconda3\lib\site-packages\nicotools\download.py", line 725, in _broker
await asyncio.gather(*tasks)
File "c:\users\username\anaconda3\lib\site-packages\nicotools\download.py", line 951, in _download
progress_bars = await asyncio.gather(*tasks) # type: List[tqdm]
File "c:\users\username\anaconda3\lib\site-packages\nicotools\download.py", line 970, in _download_worker
data = await video_data.content.read(self.chunk_size)
File "c:\users\username\anaconda3\lib\site-packages\aiohttp\streams.py", line 319, in read
await self._wait('read')
File "c:\users\username\anaconda3\lib\site-packages\aiohttp\streams.py", line 250, in _wait
await waiter
File "c:\users\username\anaconda3\lib\site-packages\aiohttp\helpers.py", line 677, in exit
raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x000001405937C5F8>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x000001405953DF98>, 5570.437)]']
connector: <aiohttp.connector.TCPConnector object at 0x000001405A3C9BA8>
また、ダウンロードに成功したときも失敗したときもERRORLEVEL 1を返すのですが成功したときは0を返すようにしていただけないでしょうか?
翌日突然使えなくなった 2018/08/03
直接un と pw を与えてもログインできません
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.