Skip to content

Conversation

@aninhasalesp
Copy link

Implemented CLI interface

This Pull Request adds support for the youtool library, a CLI tool for handling YouTube data, facilitating management and analysis of video and channel information.

Key changes include:

  • Enhanced Installation: Addition of optional dependencies for different functionalities:

    • loguru and tqdm to improve CLI experience with logging and progress bars.
    • yt-dlp for video transcription support.
    • chat-downloader for live chat downloads.
  • Project Structuring: Setup of console scripts for easy access to youtool functionalities.

  • Development Ease: Addition of development tools:

    • autoflake
    • black
    • flake8
    • ipython
    • isort
    • pytest
    • pytest-dependency
    • twine
    • wheel to ensure clean code and robust testing.

These changes aim to make youtool more robust and user-friendly, especially for developers and analysts working with YouTube data.

Usage(example):

youtool --api-key AIzaSyDk-GJmuaazaizgYQKnV_LqsHMXWnJzxXg channel-id --urls https://www.youtube.com/@Turicas/featured

@aninhasalesp aninhasalesp marked this pull request as ready for review July 5, 2024 06:13
turicas and others added 29 commits September 12, 2024 17:15
- Implemented  method to convert a list of dictionaries into a CSV file or string;
…RLs or a CSV file containing URLs;

- Added commands directory structure
fix: show error with parser if not in debug mode
- Changed file path passing to use  from  in the  method;
…and return a string;

- Added logic to convert values retrieved from the CSV file to strings before appending them to the data list;
…om URLs, usernames, or CSV files containing them;

- Add  method to filter channel information based on specified columns;
- Define  method to handle the command logic, including reading input, fetching channel data, and saving to CSV;
- Support for various input methods including direct URLs/usernames and file paths for CSV input;
- Support for specifying output CSV file path and columns to include in the output.
- Add update channel_info file;
- fix test_base
aninhasalesp and others added 28 commits September 17, 2024 20:12
- Add update channel_info file;
- fix test_base
- Add updates to some test files;
- created conftest file
- Add updates to some test files;
- created conftest file
- Add updates to some test files;
- created conftest file
- Add some necessary improvements in other files
- Add update channel_info file;
- fix test_base
- Add updates to some test files;
- created conftest file
- Add some necessary improvements in other files
@aninhasalesp aninhasalesp changed the base branch from feature/cli to develop September 18, 2024 22:41
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

Successfully merging this pull request may close these issues.

2 participants