Код: Выделить всё
Here are my codes:
Код: Выделить всё
`import pandas as pd
import requests
from bs4 import BeautifulSoup
url = "https://www.payscale.com/college-salary-report/majors-that-pay-you-back/bachelors/"
response = requests.get(url)
soup_job = response.text
soup = BeautifulSoup(soup_job, "html.parser")
table = soup.find_all('table', class_="data-table")
print(table)`
Код: Выделить всё
page=1
while page
Подробнее здесь: [url]https://stackoverflow.com/questions/79308019/im-trying-to-scrape-the-website-paycale-com-to-get-some-data-there-using-beauti[/url]