mustafadalga / Instagram-Bot

An Instagram bot developed using the Selenium Framework
https://github.com/mustafadalga/Instagram-Bot
GNU General Public License v3.0
280 stars 84 forks source link

Liking a deleted post stops the whole process of liking by tag #10

Open janex-PL opened 4 years ago

janex-PL commented 4 years ago

During liking by tag process, bot sometimes stops the process, because it fails to locate the like button for the post. The only possible reason why the button is not visible is when the post has been deleted shortly after the page with post for given hashtag has been loaded. When the selected hashtag is very popular, then this situation can happen just after 10-20 posts, which is very annoying, because you have to manually restart the process.

In my opinion, this scenario shouldn't stop the liking by tag process. I think that logging the error to the console and moving on to the next post is absolutely fine.

mustafadalga commented 4 years ago

Hi @janex-PL , Thank you for your feedback. I recorded this situation. As I keep improving the application, I will fixed the problem you indicated.