GithubHelp home page GithubHelp logo

niconico-tools's People

Contributors

mo-san avatar tladudtn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

niconico-tools's Issues

ダウンロード途中でアクセスが切断されてしまう

以下のコマンドでダウンロードを試行すると途中でアクセスが切断されてしまいます。

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を返すようにしていただけないでしょうか?

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.