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

Possibility to add args to chat_downloader #119

Open
Smallinger opened this issue Feb 22, 2023 · 2 comments
Open

Possibility to add args to chat_downloader #119

Smallinger opened this issue Feb 22, 2023 · 2 comments

Comments

@Smallinger
Copy link
Contributor

Smallinger commented Feb 22, 2023

Hey, is it possible to add some args to the chat downloader ? like -v for verbose ? a second question is can i save the logs from every action on the queue ? i mean "Video Download", "Video Convert", "Chat Download" and so on for debugging ?.

i got this error on last stream, and in my tmp file there are no json's

Chat downloader started.
It it unlikely that you will see further output in this log.
Traceback (most recent call last): 
File "/usr/local/bin/chat_downloader", line 33, in sys.exit(load_entry_point('chat-downloader==0.2.3', 'console_scripts', 'chat_downloader')()) 
File "/usr/local/lib/python3.9/dist-packages/chat_downloader-0.2.3-py3.9.egg/chat_downloader/cli.py", line 194, in main run(**args.dict) 
File "/usr/local/lib/python3.9/dist-packages/chat_downloader-0.2.3-py3.9.egg/chat_downloader/chat_downloader.py", line 351, in run chat = downloader.get_chat(**chat_params) 
File "/usr/local/lib/python3.9/dist-packages/chat_downloader-0.2.3-py3.9.egg/chat_downloader/chat_downloader.py", line 224, in get_chat chat = get_chat(match, params) 
File "/usr/local/lib/python3.9/dist-packages/chat_downloader-0.2.3-py3.9.egg/chat_downloader/sites/twitch.py", line 1653, in _get_chat_by_stream_id return self.get_chat_by_stream_id(match.group('id'), params) 
File "/usr/local/lib/python3.9/dist-packages/chat_downloader-0.2.3-py3.9.egg/chat_downloader/sites/twitch.py", line 1666, in get_chat_by_stream_id stream_info = self._download_gql(query)[0]['data']['user'] KeyError: 'data'
@Smallinger
Copy link
Contributor Author

Smallinger commented Feb 22, 2023

oh its looks like the "chat-downloader" error got fixed, with the new version 0.2.4
xenova/chat-downloader#197

my request for the args for chat-downloader and logs for each event would still be cool.

PS :
its looks like the TwitchDownloaderCLI got a new version too, i test all new version's at the moment on my self build ganymede image's.
https://github.com/lay295/TwitchDownloader/releases/tag/1.51.2

@Zibbp
Copy link
Owner

Zibbp commented Feb 22, 2023

Thanks for the notification about the chat issue and the update to chat-downloader. I'll do some testing and push a new release that uses the updated version in a bit. The latest TwitchDownloaderCLI release is in a "pre-release" state so I am holding off until that is promoted to an official release.

I can take a look into allow custom chat-downloader arguments. I chose not to do that initially because it would create a log line for each message that is being downloaded which would result in large log files.

can i save the logs from every action on the queue ? i mean "Video Download", "Video Convert", "Chat Download" and so on for debugging ?

The logs for each task should be available in the mounted /logs volume if I'm reading this right.

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

2 participants