Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #importowanie bibliotek
- import urllib.request
- from bs4 import BeautifulSoup
- import pandas as pd
- #otwieranie strony
- html = urllib.request.urlopen("http://www.90minut.pl/liga/0/liga9938.html")
- html_code = html.read()
- bsObject = BeautifulSoup(html_code, "html.parser")
- wszystkie_kolejki = bsObject.find_all('table', class_="main", width="600", border="0", cellspacing="0", cellpadding="1",
- align="center")
- wszystkie_kolejki
- kolejki = []
- for kolejka in wszystkie_kolejki:
- gos = kolejka.find_all('b')
- kolejki.append(gos)
- kolejki
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement