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

tokens.txt - ValueError #13

Open
Dreak183 opened this issue Nov 5, 2023 · 0 comments
Open

tokens.txt - ValueError #13

Dreak183 opened this issue Nov 5, 2023 · 0 comments

Comments

@Dreak183
Copy link

Dreak183 commented Nov 5, 2023

I opened the tokens.txt and deleted the lines:
"token proxy
token proxy"

And inserted only the Token which looks like that (to demonstrate special chars like "." and "_":
XXXXXXXXX.AAAAAAAAAAA.BBBBBBB_CCCCCC

I only wanted to show the structure of the special chars to let you verify it´s the correct Token.
In total it got 224 Charackters.

I did not inserted a proxy (not using one) - only the token.

But upon executing the script I get the following ValueError:

Traceback (most recent call last):
  File "/root/tools/ZealyAutomatization/main.py", line 104, in <module>
    main()
  File "/root/tools/ZealyAutomatization/main.py", line 45, in main
    client = ZealyClient()
  File "/root/tools/ZealyAutomatization/ZealyClient.py", line 15, in __init__
    self.token_to_proxies = parse_tokens("./config/tokens.txt")
  File "/root/tools/ZealyAutomatization/config/params.py", line 25, in parse_tokens
    token, proxy = line.strip().split()
ValueError: not enough values to unpack (expected 2, got 1)
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