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

[FEATURE] [Twitch] Add {datetime} in ouput operation #232

Open
JC-Chung opened this issue Nov 26, 2023 · 0 comments
Open

[FEATURE] [Twitch] Add {datetime} in ouput operation #232

JC-Chung opened this issue Nov 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@JC-Chung
Copy link
Contributor

JC-Chung commented Nov 26, 2023

Is your feature request related to a problem? Please describe.

I'm used to adding the date to the filename like [20231126]-v0000000000-{title}-chat.json, but since chat_downloader doesn't support it, I have to enter the date manually every time.

Describe the solution you'd like

Add {datetime} support.

Describe alternatives you've considered

def get_chat_by_vod_id(self, vod_id, params):

        duration = video.get('lengthSeconds')
        createdAt = video.get('createdAt')  # "2023-11-26T05:06:42Z"

        return Chat(
            ...
            datetime=createdAt
        )

Additional context

By the way, although it doesn't affect the results, some sha256hash has new values that can be updated.
StreamMetadata ChannelVideoShelvesQuery ClipsCards__User VideoMetadata ChannelCollectionsContent and VideoPreviewOverlay

@JC-Chung JC-Chung added the enhancement New feature or request label Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant