Skip to content

Commit

Permalink
Update post text selector
Browse files Browse the repository at this point in the history
  • Loading branch information
koval01 committed Dec 7, 2024
1 parent 33f9a24 commit 742bd19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/telegram/parser/types/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def text(buble: LexborNode) -> Union[dict, None]:
Returns:
Union[dict, None]: A dictionary containing text content, or None if no text found.
"""
selector = buble.css_first(".tgme_widget_message_bubble>.tgme_widget_message_text")
selector = buble.css_first(".tgme_widget_message_text, .js-message_text")
if not selector:
return None

Expand Down

0 comments on commit 742bd19

Please sign in to comment.