Quantcast
Viewing latest article 29
Browse Latest Browse All 46

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

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.

Image may be NSFW.
Clik here to view.
screenshot of the div elements i want to download


Viewing latest article 29
Browse Latest Browse All 46

Trending Articles