N
N
Nanch2020-07-27 15:06:46
Python
Nanch, 2020-07-27 15:06:46

How to pull an article from a VK post via bs4?

There is a VK group, there are a lot of articles, and each article needs to pull out pictures and text, but to open the article you need to click on the "read" button. And here's how to pull them out through the soup?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Pokrovsky, 2020-07-27
@Makaroshka007

Option 1 (hard):
See what requests are sent when the button is clicked and repeat them
Option 2 (medium):
Use selenium instead of bs, everything is much simpler
Option 3 (easy):
Use vk api and don't bother at all

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question