By clicking the link using beautifulsoup in python

In mechanization, we click links either using follow_link or click_link. Is there a similar thing in a fine soup to click a link on a web page?

+4
source share
1 answer

BeautifulSoup - syntactical analyzer .

Further discussion really depends on the specific situation in which you are and on the complexity of a particular web page.

If you need to interact with a web page: submit forms, click buttons, scroll, etc. - you need to use a tool that uses a real browser, for example selenium.

, , javascript , mechanize .

, urllib2 requests.

+8

Source: https://habr.com/ru/post/1540705/


All Articles