C45HC0W
Regular Member
- Jan 30, 2019
- 430
- 142
I want to read out this list of odds of different betting websites using python and request and beautifulsoup however my access gets denied
this is my code:
this is my code:
Code:
import requests
from bs4 import BeautifulSoup as bs
url = 'oddsportal.com/soccer/europe/europa-league/dynamo-kyiv-chelsea-lIjhcPn4/'
r = requests.get(url)
soup = bs(r.text,'html.parser')
txt ='bt1'
results = soup.find_all(id= "odds-data-table")
for result in results:
info = result.text
print(info)