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