Quantcast
Channel: Active questions tagged python - Webmasters Stack Exchange
Viewing all articles
Browse latest Browse all 46

Looking at the developer's source code doesn't reveal all the code

$
0
0

Newbie here, but I didn't know where else to go. I have a very rudimentary understanding of html/css.

I am trying to use python to extract data from the major league soccer website to populate a database I am building. This site here lists the lineups from an old match: https://www.atlutd.com/competitions/mls-regular-season/2017/matches/atlvsrbny-03-05-2017/lineups. I use the chrome browser.

When I click ctl+u, I believe I am getting the html source code. This same code is what I download when I use python tools like requests. However, it doesn't include the player or manager names.

When I use the chrome developer tools, appearing at the side of the webpage, a whole different set of elements appear that have the information I need. None of these div elements show up when I hit ctl+u.

I feel like this is something simple I am missing, but my google searches have so far have turned up nothing. Any nudge in the right direction is most appreciated. Thank you for your time.

screenshot of the div elements i want to download


Viewing all articles
Browse latest Browse all 46

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>