I need to make a program that will receive some data from https://csgofast.com/#game/double . All the data I need is in the <div class="wrapper csgofast"></div> . If you look in the inspector, then this tag is quietly visible, but if you look at the source code of the page, it’s not there. Request.get() just returns this source code. Can you please explain why the tag is not visible in the source code? And how then can you get this tag? I will be glad to any answer.
- 2Because it is added via javascript? - andreymal
- And then you can somehow get this tag? - Dima Marmot
|
1 answer
Try downloading your page using wget or curl for example. Most likely your page will be identical to that obtained from Requests.get (). It is possible that changes HTML javascript. If so, then you need to use as an option PhantomJS.
- Thanks for the answer. But I have already found a solution. Use module selenium - Dima Marmot
|