V
V
Vahram Mkrtchyan2020-05-11 10:19:46
Bots
Vahram Mkrtchyan, 2020-05-11 10:19:46

Telegram Bot | How to get notifications about new ads from any site?

Hello. How to create/configure a telegram bot to receive notifications of new ads from any site. For example, let's say, from the Avito website for real estate filters in Moscow?
Thanks in advance :)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitri, 2020-05-11
@dmitriy337

Make a parser for this site and check every few minutes. When changing, send a message to telegram.
Lots of guides on this subject.
https://www.youtube.com/watch?v=4L57oY3J378
You can use this video as an example to make it for yourself.

N
Nazar Tropanets, 2020-05-11
@nazartropanets

Just make a simple parser that reads information from the site and notifies the user when it changes.
You can use bs4 or something else for parsing. If you are unfamiliar with parsing, watch a few of any video tutorials on this topic, there are plenty of them. When you have received all the announcements, you save them to an array and every few minutes you take the latest announcements again and if they do not match the previous ones, display new announcements

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question