twitter-media-dl icon indicating copy to clipboard operation
twitter-media-dl copied to clipboard

Does not work on Windows 10

Open Code4SAFrankie opened this issue 2 years ago • 2 comments

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'

Code4SAFrankie avatar Jul 24 '22 08:07 Code4SAFrankie

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

IntelligenXia avatar Dec 25 '22 15:12 IntelligenXia

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"}

feelixs avatar Jan 03 '23 16:01 feelixs