Commit Graph

110 Commits

Author SHA1 Message Date
vvzvlad 67fa56128c Handle None values for message date 2025-04-12 19:50:59 +03:00
vvzvlad d96ceaba86 clown flag + poo flag = clownpoo 2025-04-11 03:24:30 +03:00
vvzvlad 11089d5f08 Fix condition to check for foreign channel flags in post parser 2025-04-11 03:08:58 +03:00
vvzvlad 255b897e7a video sticker support 2025-04-11 03:08:14 +03:00
vvzvlad 7d9b0bfd65 t.me/boost links as donat flag 2025-04-11 03:04:38 +03:00
vvzvlad 7a95211fe7 Update post parser to exclude t.me links from flag detection 2025-04-11 02:50:53 +03:00
vvzvlad 78255e51a2 Enhance post parser to flag foreign channels for boost links 2025-04-11 02:48:42 +03:00
vvzvlad f42e159ba6 Add flags endpoint 2025-04-11 02:04:58 +03:00
vvzvlad b59992cb22 Add paywall detection in post parser 2025-04-11 02:01:42 +03:00
vvzvlad c730d5bb7f Refactor title generation to remove punctuation 2025-04-09 03:07:12 +03:00
vvzvlad c78d8c93f6 Enhance title generation 2025-04-09 02:48:02 +03:00
vvzvlad 2a8326be06 Implement URL-based title generation 2025-04-08 18:38:13 +03:00
vvzvlad ee56ac41f2 Enhance title generation 2025-04-08 18:25:15 +03:00
vvzvlad d2a857d169 Refactor title generation 2025-04-08 18:16:46 +03:00
vvzvlad ebc4f0e76e Improved media type handling 2025-04-08 02:30:02 +03:00
vvzvlad 422e2adc2d Add shebang and encoding declaration to multiple Python files 2025-04-03 01:48:34 +03:00
vvzvlad 1adaae1fb3 Add line breaks after audio 2025-04-03 00:44:31 +03:00
vvzvlad 83e90d13a6 Refactor emoji handling 2025-04-01 16:00:37 +03:00
vvzvlad 2c06cc8ce4 Refactor PostParser to improve emoji handling for reactions, setting defaults for paid and unknown reactions 2025-04-01 02:31:10 +03:00
vvzvlad 3d54230169 Update PostParser to classify unknown posts with a new emoji and enhance RSS generator to ignore new chat title events 2025-04-01 02:22:59 +03:00
vvzvlad e7d65fab29 Refactor PostParser to improve URL handling and increase character limit for video flags 2025-03-31 16:21:18 +03:00
vvzvlad ec6ed7ab48 Add line break to HTML footer in PostParser for improved formatting 2025-03-28 16:54:42 +03:00
vvzvlad cef46680ef Update PostParser to prepend line break before flags HTML 2025-03-28 16:53:51 +03:00
vvzvlad c57e6f5318 remove debug message function 2025-03-27 19:16:42 +03:00
vvzvlad 4141420b63 Enhance PostParser to format reactions and views 2025-03-27 19:14:48 +03:00
vvzvlad fc3fd6bb64 Refactor PostParser to remove CSS styles and streamline reactions and views formatting 2025-03-27 18:58:41 +03:00
vvzvlad 50a61f2677 Refactor PostParser to improve spacer handling in date-links formatting 2025-03-27 18:32:46 +03:00
vvzvlad 0d94ff9e1a Enhance PostParser with CSS styles for reactions string 2025-03-27 18:21:40 +03:00
vvzvlad b497ce6e66 Add YouTube link title 2025-03-27 18:15:15 +03:00
vvzvlad 8fc9da8306 Add line break after message text 2025-03-25 14:50:42 +03:00
vvzvlad 3436472942 enhance PostParser with pinned message 2025-03-24 19:44:59 +03:00
vvzvlad 67a1c1ba6e Streamline debug JSON output formatting in PostParser 2025-03-24 17:17:45 +03:00
vvzvlad d3def58d93 Enhance debug JSON 2025-03-24 17:06:24 +03:00
vvzvlad c4eee8b13a Fix debug JSON output 2025-03-24 17:01:57 +03:00
vvzvlad 713ab51dcc Refactor PostParser 2025-03-24 16:59:44 +03:00
vvzvlad 26ba743821 Fix debug JSON output 2025-03-24 16:57:18 +03:00
vvzvlad d9443b8a54 Refactor debug JSON 2025-03-24 16:54:45 +03:00
vvzvlad 54b3175bdf Refactor PostParser to improve URL handling and conditional hyperlinking for short texts 2025-03-24 16:51:29 +03:00
vvzvlad dc4af5aa86 Improve debug JSON output 2025-03-24 16:45:31 +03:00
vvzvlad 479c0293ee Enhance debug JSON output formatting 2025-03-24 16:36:01 +03:00
vvzvlad dcba11ce55 Update post_parser to conditionally add hyperlinks to short descriptions and clean up unused code 2025-03-24 16:33:52 +03:00
vvzvlad b44d167815 add raw JSON output in _format_html (debug parameter ) 2025-03-22 14:33:43 +03:00
vvzvlad 5e23bfe34f Remove commented-out lines in _debug_message method of PostParser for cleaner code 2025-03-22 13:40:27 +03:00
vvzvlad 4707b65692 Update PDF link handling in PostParser to include direct Telegram links for better accessibility 2025-03-21 15:35:46 +03:00
vvzvlad 3a99673039 Add handling for document media types in PostParser to differentiate between PDF and other documents 2025-03-21 15:29:01 +03:00
vvzvlad 112011ce17 Remove commented-out code for Telegram URL handling in PostParser to clean up the implementation 2025-03-21 15:18:36 +03:00
vvzvlad a9b8125cc1 Enhance emoji handling in PostParser by replacing None or empty emojis with a question mark character in reaction displays 2025-03-21 15:17:57 +03:00
vvzvlad 98a828cc62 Refactor Telegram link handling in PostParser to display a subtle URL instead of a button 2025-03-21 15:16:16 +03:00
vvzvlad 54cd13304b Add webpage data extraction and formatting in PostParser for enhanced link previews 2025-03-21 15:13:55 +03:00
vvzvlad 1f5258a279 fix bug in f-string 2025-03-21 15:03:49 +03:00