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

Fails for https://www.worldremit.com/en/account/login #24

Open
umrashrf opened this issue Feb 5, 2021 · 0 comments
Open

Fails for https://www.worldremit.com/en/account/login #24

umrashrf opened this issue Feb 5, 2021 · 0 comments

Comments

@umrashrf
Copy link

umrashrf commented Feb 5, 2021

% python -m loginform -u ***** -p ***** https://www.worldremit.com/en/account/login
Traceback (most recent call last):
  File "/usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/opt/python@3.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/umairashraf/.local/share/virtualenvs/base/lib/python3.7/site-packages/loginform.py", line 105, in <module>
    sys.exit(main())
  File "/Users/umairashraf/.local/share/virtualenvs/base/lib/python3.7/site-packages/loginform.py", line 98, in main
    values, action, method = fill_login_form(args.url, r.text, args.username, args.password)
  File "/Users/umairashraf/.local/share/virtualenvs/base/lib/python3.7/site-packages/loginform.py", line 77, in fill_login_form
    form = _pick_form(doc.xpath('//form'))
  File "/Users/umairashraf/.local/share/virtualenvs/base/lib/python3.7/site-packages/loginform.py", line 42, in _pick_form
    return sorted(forms, key=_form_score, reverse=True)[0]
IndexError: list index out of range
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

1 participant