Comments (3)
Hi there. The correct usage is as follows:
chat_downloader https://www.youtube.com/watch?v=5qap5aO4i9A --message_groups "messages superchat"
Note this uses --message_groups
. If you want more control, you can specify --message_types
, for example:
chat_downloader https://www.youtube.com/watch?v=n5aQeLwwEns --message_types "text_message paid_message membership"
This is my fault as I am still busy writing the documentation. The keys are message groups and the elements in the lists are message types. So, the message group superchat
contains membership_item
, paid_message
and paid_sticker
. Here are the different message groups and message types for YouTube in the meantime.
_MESSAGE_GROUPS = {
'messages': [
'text_message' # normal message
],
'superchat': [
# superchat messages which appear in chat
'membership_item',
'paid_message',
'paid_sticker',
],
'tickers': [
# superchat messages which appear ticker (at the top)
'ticker_paid_sticker_item',
'ticker_paid_message_item',
'ticker_sponsor_item',
],
'banners': [
'banner',
'banner_header'
],
'donations': [
'donation_announcement'
],
'engagement': [
# message saying live chat replay is on
'viewer_engagement_message',
],
'purchases': [
'purchased_product_message' # product purchased
],
'mode_changes': [
'mode_change_message' # e.g. slow mode enabled
],
'deleted': [
'deleted_message'
],
'bans': [
'ban_user'
],
'placeholder': [
'placeholder_item' # placeholder
]
}
from chat-downloader.
It's alright, I mean everyone here depends on your script in the first place. So thank you for making this.
Also, I prioritize text messages, although having both superchats and members are also nice. Thanks for the quick reply!
from chat-downloader.
@artiction I wrote a short guide on how to use message groups and types: https://github.com/xenova/chat-downloader/wiki/Message-groups-and-types
Hope it helps!
from chat-downloader.
Related Issues (20)
- [BUG] On my pc it works but on my friend's it doesn't HOT 5
- how can stop sesion chat?
- [QUESTION] How do I get chat log from start of live youtube broadcast? HOT 3
- REMOVE THIS, THANKS
- Incomplete Parsing of Fundraising Donation Messages in Live Chat HOT 2
- [QUESTION] Title goes here
- ModuleNotFoundError: No module named 'chardet'
- [QUESTION] How can I stop chat downloader if the livestreaming is offline
- [FEATURE] [Twitch] Add `{datetime}` in ouput operation
- [FEATURE] [Youtube] Add filter for stream announce
- [FEATURE] create_clip function
- [BUG] Filename string after --output cannot begin with dash(-) due to mis-interpretated as option HOT 5
- [BUG] socs.value missing from cookies
- CHAT STOPED AFTER ANY TIME HOT 2
- [QUESTION] How to replace shorthand emotes, like :confounded_face:, with UTF, like 😖 ?
- [BUG] YouTube URL parsing error
- [FEATURE] errorlevel 0
- inactivity_timeout HOT 1
- [FEATURE] Kick support
- [QUESTION] Module Hook?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chat-downloader.