D
D
Dmitry Tereshchuk2018-03-15 14:43:45
Python
Dmitry Tereshchuk, 2018-03-15 14:43:45

reset fix?

When downloading files in python through the wget module, I sometimes get an error:
Connection reset by peer.
How can it be eliminated?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JaxxDexx, 2018-03-15
@DeepCool

No way, just do the download in a loop, and if you throw an error, try to repeat the download, if successful, exit the loop.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question