Solve Problems by Coding Solutions - A Complete solution for python programming
import requests
from bs4 import BeautifulSoup
url = 'https://www.pythonforengineers.in/'
reqs = requests.get(url)
soup = BeautifulSoup(reqs.text, 'html.parser')
urls = []
for link in soup.find_all('a'):
print(link.get('href'))
Post a Comment
No comments:
Post a Comment