Cannot get link from missing tbody tag (web scraping)
تبليغيرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.
I want to get the link in order to download the pdf in tbody tag, but the tag didn’t show up after getting the HTML source code. How to get those links. Here’s the website: https://www.nexeoplastics.com/types/plastics-product-finder?s=TPU
Here is my code:
from bs4 import BeautifulSoup
import requests
r=requests.get(“https://www.nexeoplastics.com/types/plastics-product-finder?s=TPU”)
soup=BeautifulSoup(r.content,”html.parser”)
table = soup.find_all(id=”maintable”)
print(table)
The results only shows thead, but not tbody, can anyone whelp me to get the link?
أضف إجابة