Playing around with web scraping and trying to get PPA rankings to possibly use in a gambling model. Trouble I’m having is getting the player’s last name. First name is in a span tag, but the last name isn’t. Web page code is below. I’ve been using BeautifulSoup and using find sibling doesn’t work and i can’t seem to find the last name under div, tr or td. in this Example the player’s full name is Pablo Tellez. All the other data, rankings, points, etc are all under td tags, but the names aren’t included.
|| || |<div class=”api-rankings\_\_table-name”>| ||<span class=”api-rankings\_\_table-first-name”></span>Pablo | ||</div>Tellez | ||</div>|
submitted by /u/WeAllPayTheta
[link] [comments]
r/learnpython Playing around with web scraping and trying to get PPA rankings to possibly use in a gambling model. Trouble I’m having is getting the player’s last name. First name is in a span tag, but the last name isn’t. Web page code is below. I’ve been using BeautifulSoup and using find sibling doesn’t work and i can’t seem to find the last name under div, tr or td. in this Example the player’s full name is Pablo Tellez. All the other data, rankings, points, etc are all under td tags, but the names aren’t included. || || |<div class=”api-rankings\_\_table-name”>| ||<span class=”api-rankings\_\_table-first-name”></span>Pablo | ||</div>Tellez | ||</div>| submitted by /u/WeAllPayTheta [link] [comments]
Playing around with web scraping and trying to get PPA rankings to possibly use in a gambling model. Trouble I’m having is getting the player’s last name. First name is in a span tag, but the last name isn’t. Web page code is below. I’ve been using BeautifulSoup and using find sibling doesn’t work and i can’t seem to find the last name under div, tr or td. in this Example the player’s full name is Pablo Tellez. All the other data, rankings, points, etc are all under td tags, but the names aren’t included.
|| || |<div class=”api-rankings\_\_table-name”>| ||<span class=”api-rankings\_\_table-first-name”></span>Pablo | ||</div>Tellez | ||</div>|
submitted by /u/WeAllPayTheta
[link] [comments]