pyload / pyload

The free and open-source Download Manager written in pure Python
https://pyload.net
Other
3.31k stars 711 forks source link

[HitfileNet] error on solving captcha #4355

Closed rkashapov closed 1 year ago

rkashapov commented 1 year ago

Description

When I try to download a file from hitfile.net I get a KeyError

Debug log

[2023-08-10 18:59:43]  INFO                pyload  DOWNLOADER HitfileNet[4]: Processing url: https://hitfile.net/VpzDs7s
[2023-08-10 18:59:43]  INFO                pyload  DOWNLOADER HitfileNet[4]: Looking for direct download link...
[2023-08-10 18:59:43]  DEBUG               pyload  DOWNLOADER HitfileNet[4]: LOAD URL https://hitfile.net/VpzDs7s | get={} | post={} | ref=True | cookies=True | just_header=True | decode=True | multipart=False | redirect=True | req=None
[2023-08-10 18:59:44]  INFO                pyload  DOWNLOADER HitfileNet[4]: Direct download link not found
[2023-08-10 18:59:44]  DEBUG               pyload  DOWNLOADER HitfileNet[4]: LOAD URL https://hitfile.net/VpzDs7s | get={} | post={} | ref=False | cookies=[('hitfile.net', 'user_lang', 'en')] | just_header=False | decode=True | multipart=False | redirect=True | req=None
[2023-08-10 18:59:44]  INFO                pyload  DOWNLOADER HitfileNet[4]: Checking for link errors...
[2023-08-10 18:59:44]  INFO                pyload  DOWNLOADER HitfileNet[4]: No errors found
[2023-08-10 18:59:44]  INFO                pyload  DOWNLOADER HitfileNet[4]: Processing as free download...
[2023-08-10 18:59:44]  DEBUG               pyload  DOWNLOADER HitfileNet[4]: LOAD URL https://hitfile.net/download/free/VpzDs7s | get={} | post={} | ref=True | cookies=True | just_header=False | decode=True | multipart=False | redirect=True | req=None
[2023-08-10 18:59:44]  DEBUG               pyload  ADDON ExternalScripts: No script found under folder `download_processed`
[2023-08-10 18:59:44]  WARNING             pyload  Download failed: Obscur-Pseudo_Romantic-(NR...-BABAS.rar | 'captcha_type'
Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.9/site-packages/pyload/core/threads/download_thread.py", line 56, in run
    pyfile.plugin.preprocessing(self)
  File "/home/pi/.local/lib/python3.9/site-packages/pyload/plugins/base/hoster.py", line 291, in preprocessing
    return self._process(*args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyload/plugins/base/downloader.py", line 103, in _process
    self.process(self.pyfile)
  File "/home/pi/.local/lib/python3.9/site-packages/pyload/plugins/base/simple_downloader.py", line 282, in process
    self.handle_free(pyfile)
  File "/home/pi/.local/lib/python3.9/site-packages/pyload/plugins/downloaders/HitfileNet.py", line 56, in handle_free
    self.solve_captcha()
  File "/home/pi/.local/lib/python3.9/site-packages/pyload/plugins/downloaders/HitfileNet.py", line 83, in solve_captcha
    if inputs["captcha_type"] == "recaptcha2":
KeyError: 'captcha_type'
github-actions[bot] commented 2 weeks ago

This ticket has been automatically locked since there has not been any recent activity after it was closed.