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

[QUESTION] Title goes here #228

Open
Kohkitos opened this issue Nov 3, 2023 · 0 comments
Open

[QUESTION] Title goes here #228

Kohkitos opened this issue Nov 3, 2023 · 0 comments
Labels
question Further information is requested

Comments

@Kohkitos
Copy link

Kohkitos commented Nov 3, 2023

What is your question?

How do I get all the items listed when using Python?

Additional context

When I do this loop

chat = ChatDownloader().get_chat(url,
                                retry_timeout = -1,
                                timeout = 5) 
temp = []
for message in chat:                        
    temp.append(message)

The only output items I get are:

{'action_type': 'add_chat_item',
 'message': 'JAJAJAJAJA dejá de agradecer pelotudeces',
 'message_id': 'ChwKGkNOZkUwcWJYcDRJREZWckJ3Z1FkX01nUC1B',
 'timestamp': 1699009418056860,
 'author': {'name': 'Ulises Leiva',
  'images': [{'url': 'https://yt4.ggpht.com/ytc/APkrFKart4fKJfTfzCQhbk9rss29RRQg7FPfmtCulA',
    'id': 'source'},
   {'url': 'https://yt4.ggpht.com/ytc/APkrFKart4fKJfTfzCQhbk9rss29RRQg7FPfmtCulA=s32-c-k-c0x00ffffff-no-rj',
    'width': 32,
    'height': 32,
    'id': '32x32'},
   {'url': 'https://yt4.ggpht.com/ytc/APkrFKart4fKJfTfzCQhbk9rss29RRQg7FPfmtCulA=s64-c-k-c0x00ffffff-no-rj',
    'width': 64,
    'height': 64,
    'id': '64x64'}],
  'id': 'UC7Q4MGrsEBzY8_oC20pdgbg'},
 'message_type': 'text_message'}
@Kohkitos Kohkitos added the question Further information is requested label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant