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

Hang on using tidy for json #43

Open
Lingomat opened this issue May 16, 2024 · 1 comment
Open

Hang on using tidy for json #43

Lingomat opened this issue May 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Lingomat
Copy link

Lingomat commented May 16, 2024

I thought it was a bit puzzling I have to specify --tidy-to and -o. They seem exclusive. Or at least if writing to the raw json is required, then one might as well make a tidy command which converts the json to the desired format.

At any rate, the following command just locked up Youte for 20 minutes at 100% CPU (until I Ctrl-C'd it) after downloading comments for 50 odd videos. It finished the download, it seems, filled comments_untidied.json and created comments_tidied.json but wrote nothing in it.

youte comments --by-video-id --file-path video_ids.txt --format json -o comments_untidied.json --tidy-to comments_tidied.json

@Lingomat Lingomat added the bug Something isn't working label May 16, 2024
@boyd-nguyen
Copy link
Collaborator

boyd-nguyen commented May 16, 2024

@Lingomat -o stores the raw json and is required, whereas --tidy-to parses the json to a CSV and is optional: https://youte.readthedocs.io/en/latest/documentation/#tidy-data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants