setnicka / ulozto-downloader

EOL - end of life | Uloz.to quick multiple sessions downloader
MIT License
279 stars 46 forks source link

RFE: implement watchdog for downloading threads #44

Closed sopos closed 3 years ago

sopos commented 3 years ago

There are various issues appearing with the downloads. Some of them are fatal and the specific part does not start again. It would be good if there was some watchdog for each thread which would restart it in case something bad happen. Like if the thread is dead or is stuck.

  File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 519, in request
    prep = self.prepare_request(req)..
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 462, in prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "/usr/lib/python3/dist-packages/requests/models.py", line 313, in prepare
    self.prepare_url(url, params)HA...
  File "/usr/lib/python3/dist-packages/requests/models.py", line 387, in prepare_url
    raise MissingSchema(error)PTCHA...
requests.exceptions.MissingSchema: Invalid URL '/blocked': No schema supplied. Perhaps you meant http:///blocked?
vladodriver commented 3 years ago

@sopos problem solved in https://github.com/setnicka/ulozto-downloader/releases/tag/2.6.0 by https://github.com/setnicka/ulozto-downloader/pull/50