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

Does not work on Windows 10 #7

Open
Code4SAFrankie opened this issue Jul 24, 2022 · 2 comments
Open

Does not work on Windows 10 #7

Code4SAFrankie opened this issue Jul 24, 2022 · 2 comments

Comments

@Code4SAFrankie
Copy link

Gives me this error on Windows 10:```

Traceback (most recent call last):
File "C:\WPy64-31040\python-3.10.4.amd64\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\WPy64-31040\python-3.10.4.amd64\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\WPy64-31040\python-3.10.4.amd64\Scripts\twitter-dl.exe_main
.py", line 7, in
File "C:\WPy64-31040\python-3.10.4.amd64\lib\site-packages\twitter_dl_main
.py", line 84, in main
with open(args.confidential) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\User/.twitter.json'

@IntelligenXia
Copy link

Are we to provide the username/password or any other credentials here ?

@feelixs
Copy link

feelixs commented Jan 3, 2023

you need to sign up for a developer account on twitter, create a project and create .twitter.json in your user dir with contents:

{"consumer_key": "apikey", "consumer_secret": "apisecret", "bearer_token": "bearer"}

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

3 participants