Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library [emailnator] ain't working #1

Closed
trueloser777 opened this issue Jan 31, 2024 · 1 comment
Closed

Library [emailnator] ain't working #1

trueloser777 opened this issue Jan 31, 2024 · 1 comment

Comments

@trueloser777
Copy link

trueloser777 commented Jan 31, 2024

Traceback (most recent call last):
  File "D:\Projects\Private\Neuer Ordner\main.py", line 133, in <module>
    asyncio.run(main())
  File "C:\Users\homen\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "C:\Users\homen\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\homen\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 664, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "D:\Projects\Private\Neuer Ordner\main.py", line 26, in main
    emailnator = EmailNator()
                 ^^^^^^^^^^^^
  File "D:\Projects\Private\Neuer Ordner\venv\Lib\site-packages\pynator\pynator.py", line 84, in __init__
    super().__init__("https://www.emailnator.com/", "email")
  File "D:\Projects\Private\Neuer Ordner\venv\Lib\site-packages\pynator\pynator.py", line 40, in __init__
    response.raise_for_status()
  File "D:\Projects\Private\Neuer Ordner\venv\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.emailnator.com/

Tried VPN - didn't help. Site works fine.

@trueloser777 trueloser777 changed the title Library ain't working Library [emailnator] ain't working Jan 31, 2024
@hackirby
Copy link
Owner

hackirby commented Feb 1, 2024

emailnator.com added a Cloudflare challenge, this is why emailnator library is not working anymore.

The resolution involves demonstrating that you've successfully completed the challenge by presenting the cf_clearance cookie.

This library does not include a "Cloudflare Challenge Solver", sorry

@hackirby hackirby closed this as completed Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants