Skip to content

[BUG]: Не приходят уведомления в тг #304

Description

@sikw147852

ОС

Windows 11

Версия парсера

v3.2.08

Способ запуска

exe

Текст ошибки

AvitoConfig(urls=['https://www.avito.ru/sankt-peterburg/telefony/mobilnye_telefony/apple-ASgBAgICAkS0wA3OqzmwwQ2I_Dc?cd=1&context=H4sIAAAAAAAA_wEmANn_YToxOntzOjE6InkiO3M6MTY6Ikw3MFFESXpTRHJRb0tQSkYiO32SViBwJgAAAA&f=ASgBAQICAkS0wA3OqzmwwQ2I_DcBQLLADfQbuIa0FbaGtBWyhrQVipE5sKM4pJs5lIE8zIE8~oE8jIE87L3IAfC9yAHKsYwVjOajFcyxjBXIsYwV1qHtEcaxjBXMoe0Rkp_tEZKg7RHYjuUQzo7lENqO5RDMjuUQ8r3IAe69yAE&localPriority=0&s=104&user=1'], proxy_string='bYf8uc:***@mproxy.site:15645', proxy_change_url='https://81.200.155.214/***', keys_word_white_list=[], keys_word_black_list=[], seller_black_list=[], count=1, tg_token='***', tg_chat_id=['***'], vk_token='', vk_user_id=[], max_price=99999999, min_price=0, geo='', max_age=600, debug_mode=0, pause_general=1, pause_between_links=1, max_count_of_retry=5, ignore_reserv=False, ignore_promotion=False, one_time_start=False, one_file_for_link=False, parse_views=False, save_xlsx=False, use_webdriver=False, use_bypass_api=True, cookies_api_key='***', output_dir=WindowsPath('result'), use_own_cookies=False, parse_phone=False, proxy_notifier='eTryjV:***@fproxy.site:12596')
2026-06-25 12:10:12.030 | INFO     | hide_private_data:log_config:64 - Запуск AvitoParse v3.2.08 с настройками:
AvitoConfig(urls=['https://www.avito.ru/sankt-peterburg/telefony/mobilnye_telefony/apple-ASgBAgICAkS0wA3OqzmwwQ2I_Dc?cd=1&context=H4sIAAAAAAAA_wEmANn_YToxOntzOjE6InkiO3M6MTY6Ikw3MFFESXpTRHJRb0tQSkYiO32SViBwJgAAAA&f=ASgBAQICAkS0wA3OqzmwwQ2I_DcBQLLADfQbuIa0FbaGtBWyhrQVipE5sKM4pJs5lIE8zIE8~oE8jIE87L3IAfC9yAHKsYwVjOajFcyxjBXIsYwV1qHtEcaxjBXMoe0Rkp_tEZKg7RHYjuUQzo7lENqO5RDMjuUQ8r3IAe69yAE&localPriority=0&s=104&user=1'], proxy_string='bYf8uc:***@mproxy.site:15645', proxy_change_url='https://81.200.155.214/***', keys_word_white_list=[], keys_word_black_list=[], seller_black_list=[], count=1, tg_token='***', tg_chat_id=['***'], vk_token='', vk_user_id=[], max_price=99999999, min_price=0, geo='', max_age=600, debug_mode=0, pause_general=1, pause_between_links=1, max_count_of_retry=5, ignore_reserv=False, ignore_promotion=False, one_time_start=False, one_file_for_link=False, parse_views=False, save_xlsx=False, use_webdriver=False, use_bypass_api=True, cookies_api_key='***', output_dir=WindowsPath('result'), use_own_cookies=False, parse_phone=False, proxy_notifier='eTryjV:***@fproxy.site:12596')
2026-06-25 12:10:12.039 | INFO     | parser_cls:parse:97 - page=1
2026-06-25 12:10:12.039 | INFO     | parser_cls:parse:97 - page=1
2026-06-25 12:10:14.575 | WARNING  | integrations.notifications.transport:send_with_retries:38 - [notify retry] attempt 4/5: 400 Client Error: Bad Request for url: https://api.telegram.org....../sendPhoto
2026-06-25 12:10:14.575 | WARNING  | integrations.notifications.transport:send_with_retries:38 - [notify retry] attempt 4/5: 400 Client Error: Bad Request for url: https://api.telegram.org/....../sendPhoto
2026-06-25 12:10:24.392 | WARNING  | integrations.notifications.transport:send_with_retries:38 - [notify retry] attempt 5/5: 400 Client Error: Bad Request for url: https://api.telegram.org/bot..../sendPhoto
2026-06-25 12:10:24.392 | WARNING  | integrations.notifications.transport:send_with_retries:38 - [notify retry] attempt 5/5: 400 Client Error: Bad Request for url: https://api.telegram.org/....../sendPhoto
2026-06-25 12:10:24.398 | ERROR    | integrations.notifications.transport:send_with_retries:43 - [notify retry] retries exhausted
2026-06-25 12:10:24.398 | ERROR    | integrations.notifications.transport:send_with_retries:43 - [notify retry] retries exhausted
2026-06-25 12:10:24.404 | ERROR    | integrations.notifications.composite:notify:16 - Ошибка 400 Client Error: Bad Request for url: https://api.telegram.org/bot..../sendPhoto отправки уведомления через TelegramNotifier
Traceback (most recent call last):

  File "threading.py", line 1032, in _bootstrap

  File "threading.py", line 1075, in _bootstrap_inner

  File "threading.py", line 1012, in run

  File "parser_cls.py", line 132, in parse

  File "integrations\notifications\base.py", line 17, in notify_many
    self.notify(ad=ad)
    │    │         └ Item(id=8113003109, categoryId=84, locationId=653240, isVerifiedItem=False, urlPath='/sankt-peterburg/telefony/iphone_14_pro_...
    │    └ <function CompositeNotifier.notify at 0x0000018F4BED39C0>
    └ <integrations.notifications.composite.CompositeNotifier object at 0x0000018F4E0F9BB0>

> File "integrations\notifications\composite.py", line 14, in notify
    notifier.notify(ad=ad, message=message)
    │        │         │           └ None
    │        │         └ Item(id=8113003109, categoryId=84, locationId=653240, isVerifiedItem=False, urlPath='/sankt-peterburg/telefony/iphone_14_pro_...
    │        └ <function TelegramNotifier.notify at 0x0000018F4BFB5D00><integrations.notifications.telegram.TelegramNotifier object at 0x0000018F4E0FBC80>

  File "integrations\notifications\telegram.py", line 60, in notify
    Returns True on success, False if the image could not be downloaded.

  File "integrations\notifications\telegram.py", line 56, in notify_ad

  File "integrations\notifications\transport.py", line 34, in send_with_retries
    response.raise_for_status()
    │        └ <function Response.raise_for_status at 0x0000018F4BFDF920><Response [400]>

  File "requests\models.py", line 1024, in raise_for_status

requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.telegram.org/bot,,,,,,,,/sendPhoto
2026-06-25 12:10:24.404 | ERROR    | integrations.notifications.composite:notify:16 - Ошибка 400 Client Error: Bad Request for url: https://api.telegram.org/bot......../sendPhoto отправки уведомления через TelegramNotifier
Traceback (most recent call last):

  File "threading.py", line 1032, in _bootstrap

  File "threading.py", line 1075, in _bootstrap_inner

  File "threading.py", line 1012, in run

  File "parser_cls.py", line 132, in parse

  File "integrations\notifications\base.py", line 17, in notify_many
    self.notify(ad=ad)
    │    │         └ Item(id=...., categoryId=84, locationId=653240, isVerifiedItem=False, urlPath='/sankt-peterburg/telefony/iphone_14_pro_...
    │    └ <function CompositeNotifier.notify at 0x0000018F4BED39C0>
    └ <integrations.notifications.composite.CompositeNotifier object at 0x0000018F4E0F9BB0>

> File "integrations\notifications\composite.py", line 14, in notify
    notifier.notify(ad=ad, message=message)
    │        │         │           └ None
    │        │         └ Item(id=8113003109, categoryId=84, locationId=653240, isVerifiedItem=False, urlPath='/sankt-peterburg/telefony/iphone_14_pro_...
    │        └ <function TelegramNotifier.notify at 0x0000018F4BFB5D00><integrations.notifications.telegram.TelegramNotifier object at 0x0000018F4E0FBC80>

  File "integrations\notifications\telegram.py", line 60, in notify
    Returns True on success, False if the image could not be downloaded.

  File "integrations\notifications\telegram.py", line 56, in notify_ad

  File "integrations\notifications\transport.py", line 34, in send_with_retries
    response.raise_for_status()
    │        └ <function Response.raise_for_status at 0x0000018F4BFDF920><Response [400]>

  File "requests\models.py", line 1024, in raise_for_status

requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.telegram.org/bot............/sendPhoto

Логи

AvitoConfig(urls=['https://www.avito.ru/sankt-peterburg/telefony/mobilnye_telefony/apple-ASgBAgICAkS0wA3OqzmwwQ2I_Dc?cd=1&context=H4sIAAAAAAAA_wEmANn_YToxOntzOjE6InkiO3M6MTY6Ikw3MFFESXpTRHJRb0tQSkYiO32SViBwJgAAAA&f=ASgBAQICAkS0wA3OqzmwwQ2I_DcBQLLADfQbuIa0FbaGtBWyhrQVipE5sKM4pJs5lIE8zIE8~oE8jIE87L3IAfC9yAHKsYwVjOajFcyxjBXIsYwV1qHtEcaxjBXMoe0Rkp_tEZKg7RHYjuUQzo7lENqO5RDMjuUQ8r3IAe69yAE&localPriority=0&s=104&user=1'], proxy_string='bYf8uc:***@mproxy.site:15645', proxy_change_url='https://81.200.155.214/***', keys_word_white_list=[], keys_word_black_list=[], seller_black_list=[], count=1, tg_token='***', tg_chat_id=['***'], vk_token='', vk_user_id=[], max_price=99999999, min_price=0, geo='', max_age=600, debug_mode=0, pause_general=1, pause_between_links=1, max_count_of_retry=5, ignore_reserv=False, ignore_promotion=False, one_time_start=False, one_file_for_link=False, parse_views=False, save_xlsx=False, use_webdriver=False, use_bypass_api=True, cookies_api_key='***', output_dir=WindowsPath('result'), use_own_cookies=False, parse_phone=False, proxy_notifier='eTryjV:***@fproxy.site:12596')
2026-06-25 12:10:12.030 | INFO     | hide_private_data:log_config:64 - Запуск AvitoParse v3.2.08 с настройками:
AvitoConfig(urls=['https://www.avito.ru/sankt-peterburg/telefony/mobilnye_telefony/apple-ASgBAgICAkS0wA3OqzmwwQ2I_Dc?cd=1&context=H4sIAAAAAAAA_wEmANn_YToxOntzOjE6InkiO3M6MTY6Ikw3MFFESXpTRHJRb0tQSkYiO32SViBwJgAAAA&f=ASgBAQICAkS0wA3OqzmwwQ2I_DcBQLLADfQbuIa0FbaGtBWyhrQVipE5sKM4pJs5lIE8zIE8~oE8jIE87L3IAfC9yAHKsYwVjOajFcyxjBXIsYwV1qHtEcaxjBXMoe0Rkp_tEZKg7RHYjuUQzo7lENqO5RDMjuUQ8r3IAe69yAE&localPriority=0&s=104&user=1'], proxy_string='bYf8uc:***@mproxy.site:15645', proxy_change_url='https://81.200.155.214/***', keys_word_white_list=[], keys_word_black_list=[], seller_black_list=[], count=1, tg_token='***', tg_chat_id=['***'], vk_token='', vk_user_id=[], max_price=99999999, min_price=0, geo='', max_age=600, debug_mode=0, pause_general=1, pause_between_links=1, max_count_of_retry=5, ignore_reserv=False, ignore_promotion=False, one_time_start=False, one_file_for_link=False, parse_views=False, save_xlsx=False, use_webdriver=False, use_bypass_api=True, cookies_api_key='***', output_dir=WindowsPath('result'), use_own_cookies=False, parse_phone=False, proxy_notifier='eTryjV:***@fproxy.site:12596')
2026-06-25 12:10:12.039 | INFO     | parser_cls:parse:97 - page=1
2026-06-25 12:10:12.039 | INFO     | parser_cls:parse:97 - page=1
2026-06-25 12:10:14.575 | WARNING  | integrations.notifications.transport:send_with_retries:38 - [notify retry] attempt 4/5: 400 Client Error: Bad Request for url: https://api.telegram.org....../sendPhoto
2026-06-25 12:10:14.575 | WARNING  | integrations.notifications.transport:send_with_retries:38 - [notify retry] attempt 4/5: 400 Client Error: Bad Request for url: https://api.telegram.org/....../sendPhoto
2026-06-25 12:10:24.392 | WARNING  | integrations.notifications.transport:send_with_retries:38 - [notify retry] attempt 5/5: 400 Client Error: Bad Request for url: https://api.telegram.org/bot..../sendPhoto
2026-06-25 12:10:24.392 | WARNING  | integrations.notifications.transport:send_with_retries:38 - [notify retry] attempt 5/5: 400 Client Error: Bad Request for url: https://api.telegram.org/....../sendPhoto
2026-06-25 12:10:24.398 | ERROR    | integrations.notifications.transport:send_with_retries:43 - [notify retry] retries exhausted
2026-06-25 12:10:24.398 | ERROR    | integrations.notifications.transport:send_with_retries:43 - [notify retry] retries exhausted
2026-06-25 12:10:24.404 | ERROR    | integrations.notifications.composite:notify:16 - Ошибка 400 Client Error: Bad Request for url: https://api.telegram.org/bot..../sendPhoto отправки уведомления через TelegramNotifier
Traceback (most recent call last):

  File "threading.py", line 1032, in _bootstrap

  File "threading.py", line 1075, in _bootstrap_inner

  File "threading.py", line 1012, in run

  File "parser_cls.py", line 132, in parse

  File "integrations\notifications\base.py", line 17, in notify_many
    self.notify(ad=ad)
    │    │         └ Item(id=..., categoryId=84, locationId=653240, isVerifiedItem=False, urlPath='/sankt-peterburg/telefony/iphone_14_pro_...
    │    └ <function CompositeNotifier.notify at 0x0000018F4BED39C0>
    └ <integrations.notifications.composite.CompositeNotifier object at 0x0000018F4E0F9BB0>

> File "integrations\notifications\composite.py", line 14, in notify
    notifier.notify(ad=ad, message=message)
    │        │         │           └ None
    │        │         └ Item(id=8113003109, categoryId=84, locationId=653240, isVerifiedItem=False, urlPath='/sankt-peterburg/telefony/iphone_14_pro_...
    │        └ <function TelegramNotifier.notify at 0x0000018F4BFB5D00><integrations.notifications.telegram.TelegramNotifier object at 0x0000018F4E0FBC80>

  File "integrations\notifications\telegram.py", line 60, in notify
    Returns True on success, False if the image could not be downloaded.

  File "integrations\notifications\telegram.py", line 56, in notify_ad

  File "integrations\notifications\transport.py", line 34, in send_with_retries
    response.raise_for_status()
    │        └ <function Response.raise_for_status at 0x0000018F4BFDF920><Response [400]>

  File "requests\models.py", line 1024, in raise_for_status

requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.telegram.org/bot,,,,,,,,/sendPhoto
2026-06-25 12:10:24.404 | ERROR    | integrations.notifications.composite:notify:16 - Ошибка 400 Client Error: Bad Request for url: https://api.telegram.org/bot......../sendPhoto отправки уведомления через TelegramNotifier
Traceback (most recent call last):

  File "threading.py", line 1032, in _bootstrap

  File "threading.py", line 1075, in _bootstrap_inner

  File "threading.py", line 1012, in run

  File "parser_cls.py", line 132, in parse

  File "integrations\notifications\base.py", line 17, in notify_many
    self.notify(ad=ad)
    │    │         └ Item(id=8113003109, categoryId=84, locationId=653240, isVerifiedItem=False, urlPath='/sankt-peterburg/telefony/iphone_14_pro_...
    │    └ <function CompositeNotifier.notify at 0x0000018F4BED39C0>
    └ <integrations.notifications.composite.CompositeNotifier object at 0x0000018F4E0F9BB0>

> File "integrations\notifications\composite.py", line 14, in notify
    notifier.notify(ad=ad, message=message)
    │        │         │           └ None
    │        │         └ Item(id=8113003109, categoryId=84, locationId=653240, isVerifiedItem=False, urlPath='/sankt-peterburg/telefony/iphone_14_pro_...
    │        └ <function TelegramNotifier.notify at 0x0000018F4BFB5D00><integrations.notifications.telegram.TelegramNotifier object at 0x0000018F4E0FBC80>

  File "integrations\notifications\telegram.py", line 60, in notify
    Returns True on success, False if the image could not be downloaded.

  File "integrations\notifications\telegram.py", line 56, in notify_ad

  File "integrations\notifications\transport.py", line 34, in send_with_retries
    response.raise_for_status()
    │        └ <function Response.raise_for_status at 0x0000018F4BFDF920><Response [400]>

  File "requests\models.py", line 1024, in raise_for_status

requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.telegram.org/bot............/sendPhoto

Конфиг

[avito]
tg_token = "..."
tg_chat_id = [
    "...",
]
vk_token = ""
vk_user_id = []
urls = [
    "https://www.avito.ru/sankt-peterburg/telefony/mobilnye_telefony/apple-ASgBAgICAkS0wA3OqzmwwQ2I_Dc?cd=1&context=H4sIAAAAAAAA_wEmANn_YToxOntzOjE6InkiO3M6MTY6Ikw3MFFESXpTRHJRb0tQSkYiO32SViBwJgAAAA&f=ASgBAQICAkS0wA3OqzmwwQ2I_DcBQLLADfQbuIa0FbaGtBWyhrQVipE5sKM4pJs5lIE8zIE8~oE8jIE87L3IAfC9yAHKsYwVjOajFcyxjBXIsYwV1qHtEcaxjBXMoe0Rkp_tEZKg7RHYjuUQzo7lENqO5RDMjuUQ8r3IAe69yAE&localPriority=0&s=104&user=1",
]
count = 1
keys_word_white_list = []
keys_word_black_list = []
seller_black_list = []
max_price = 99999999
min_price = 0
geo = ""
proxy_string = "...:...@mproxy.site:15645"
proxy_change_url = "..."
pause_general = 1
pause_between_links = 1
max_age = 600
max_count_of_retry = 5
ignore_reserv = false
ignore_promotion = false
one_time_start = false
one_file_for_link = false
parse_views = false
save_xlsx = false
use_webdriver = false
use_bypass_api = true
cookies_api_key = "...."
use_own_cookies = false
parse_phone = false
proxy_notifier = "...:...@fproxy.site:12596"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions