H
H
HeraldermY2018-09-25 22:52:55
Python
HeraldermY, 2018-09-25 22:52:55

How to find out if such a post exists in VK?

I'm writing a likes spam in python and ran into a problem. I need to check whether such a post exists or not. Tried through

request = requests.get('https://*ccылка на пост*')
if request.status_code == 200:
  #тут код;

But unfortunately there is any post in VK and it simply displays the "Entry not found" window.
So. Tell me a way to check the post for its existence. Maybe there is some method in vk api, I just haven't figured it out yet.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question