I want the links per block on the following page.
BeautifulSoup does not seem to work as the page seems to render in javascript but it should work using CSS or Selenium?
How would I use either of those to extract the html links from the page(s)
from bs4 import BeautifulSoup
import requests
lists=[]
baseurl='https://meetinglibrary.asco.org/'
for x in range (1,5):
url=f'https://meetinglibrary.asco.org/results?meetingView=2020%20ASCO%20Virtual%20Scientific%20Program&page={x}'
r=requests.get(url)
soup=BeautifulSoup(r.content,'html.parser')
productlist=soup.find_all('a',class_='ng-star-inserted')
for item in productlist:
print(item)