url="https://technet.microsoft.com/enus/library/hh135098(v=exchg.150).aspx"
r = requests.get(url)
soup = BeautifulSoup(r.content, 'lxml')
table = soup.find_all('table', attrs={"responsive": "true"})[0]
for rows in table.find_all('tr')[1:2]:
item = []
for val in rows.find_all('td'):
item.append(val.text.strip())`
I am attempting to loop this through 4 different tables on the same website but I can't figure out how to write the loop. I have done research on it and can't seem to find out what to do
The 4 tables are at the locations 0, 1, 2 and 6. I have tried slicing the data to include them, but nothing seems to want to work