{"repo":"ehcaning/divar-telegram-bot","free":true,"listed":false,"github":"https://github.com/ehcaning/divar-telegram-bot","clone":"git clone https://github.com/ehcaning/divar-telegram-bot.git","description":"این ربات تلگرام هر موقعی که توی تاپیک مورد نظرتون آگهی جدیدی بیاد، بهتون توی تلگرام اطلاع میده","language":"Python","stars":109,"topics":["telegram-bot","bot","telegram","divar"],"license":null,"category":"chat-messaging","readme_excerpt":"Divar Telegram Bot 1- Open @BotFather in Telegram. 2- Create a new bot and copy bot token. (Or use existing bot and copy bot token) 3- Send a message to @getidsbot and response should be something like this: Copy id and paste here: 4- Open your new (or old) bot (from step 2) and press Start (So bot can send you messages). 5- Go to https://divar.ir/, select your city and go to desired category. Choose some search conditions like this: Web browser's URL should be something like this: Copy everything after https://divar.ir/s/ , in this case it will be mashhad/rent-residential/janbaz?districts=1124%2C442&credit=-100000000&rent=-3000000&size=-90 And paste this here: 6- (Optional) To skip ads by title, set EXCLUDE TITLE to a comma-separated list of words. Any ad whose title contains one of them is not sent: 7- SSH to your server and make a cronjob to execute this code in which frequency you want. In this example, repository is in /root/divar bot directory This code will run every 2 minutes, if you need any help visit https://crontab.guru/ Final Result:","default_branch":null,"files":null,"tree":[],"storefront":"/r/ehcaning","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ehcaning/divar-telegram-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}