Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from urllib.request import urlopen
- from bs4 import BeautifulSoup
- response = urlopen("http://www.ceneo.pl/;szukaj-laptopy;0020-30-0-0-0.htm")
- page_source = response.read()
- soup = BeautifulSoup(page_source, 'html.parser')
- for link in soup.find_all('a'):
- print(link.get('href'))
Add Comment
Please, Sign In to add comment