mercredi 3 juillet 2019

How to scrape this page via Beautiful Soup?

I am trying to get all associated on this word association website but I do not know what path or selector to use.

https://wordassociations.net/en/words-associated-with/hello?button=Search

import requests
from urllib.request import urlopen
from bs4 import BeautifulSoup
import lxml

url = 'https://wordassociations.net/en/words-associated-with/hello?button=Search'
page=urlopen(url)
bs = BeautifulSoup(page,"lxml")




Aucun commentaire:

Enregistrer un commentaire