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

Fail twscrape add_accounts accounts.txt #236

Open
3rdxw opened this issue Nov 5, 2024 · 0 comments
Open

Fail twscrape add_accounts accounts.txt #236

3rdxw opened this issue Nov 5, 2024 · 0 comments

Comments

@3rdxw
Copy link

3rdxw commented Nov 5, 2024

twscrape add_accounts accounts.txt USSer:Password!1:USSer@gmail.com:Password!1
this return:

`Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\dsgsdg\AppData\Local\Programs\Python\Python311\Scripts\twscrape.exe\__main__.py", line 7, in <module>
  File "C:\Users\dsgsdg\AppData\Local\Programs\Python\Python311\Lib\site-packages\twscrape\cli.py", line 208, in run
    asyncio.run(main(args))
  File "C:\Users\dsgsdg\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "C:\Users\dsgsdg\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\dsgsdg\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "C:\Users\dsgsdg\AppData\Local\Programs\Python\Python311\Lib\site-packages\twscrape\cli.py", line 77, in main
    await pool.load_from_file(args.file_path, args.line_format)
  File "C:\Users\dsgsdg\AppData\Local\Programs\Python\Python311\Lib\site-packages\twscrape\accounts_pool.py", line 50, in load_from_file
    line_delim = guess_delim(line_format)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\dsgsdg\AppData\Local\Programs\Python\Python311\Lib\site-packages\twscrape\accounts_pool.py", line 31, in guess_delim
    lp, rp = tuple([x.strip() for x in line.split("username")])
    ^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)``

plus, my password has $#, how do I use it?

@3rdxw 3rdxw changed the title Fail twscrape add_accounts accounts.txt Ounightx:Ounightx2:Ounightx3:Ounightx4 Fail twscrape add_accounts accounts.txt Nov 5, 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

1 participant