Add uvloop support for asyncio in api_server and telegram_client; update requirements.txt
This commit is contained in:
+1
-1
@@ -208,7 +208,7 @@ class PostParser:
|
||||
|
||||
# Add flag "video" if the message media is VIDEO or ANIMATION and the body text is up to 100 characters.
|
||||
if (message.media in [MessageMediaType.VIDEO, MessageMediaType.ANIMATION] and
|
||||
len(message_text.strip()) <= 100):
|
||||
len(message_text.strip()) <= 200):
|
||||
flags.append("video")
|
||||
|
||||
# Add flag for posts without images
|
||||
|
||||
Reference in New Issue
Block a user