mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-23 07:49:20 +01:00
disable alerts from translation platform
This commit is contained in:
parent
74afffcabc
commit
00e141dcfb
1 changed files with 4 additions and 0 deletions
|
@ -125,6 +125,10 @@ async def main() -> None:
|
|||
for json_response, _ in paginated_responses:
|
||||
commit_files.extend(json_response['files'])
|
||||
|
||||
commit_files = [file for file in commit_files if 'translations.telegram.org/' not in file['filename']]
|
||||
if not commit_files:
|
||||
return
|
||||
|
||||
html_url = commit_data['html_url']
|
||||
|
||||
alert_text = f'<b>New changes of Telegram</b>\n\n'
|
||||
|
|
Loading…
Reference in a new issue