re: Tracking the Trackers VIEW POST

FULL DISCUSSION
 

Is it possible to do this with python ( without using selenium) for a single website ?

 

Hi!

Yes and no, it depends on the website (assuming a reasonable level of complexity).

Some website offer all the HTML, so you can just explore it, and analyze tag by tag what you should do.

Other websites relies heavily on JS to modify/create their content at "run time", so you will need to execute that JS in order to know what requests should be done. (This is the case of React or Vue.js)

Once you started to render the JS everything became so complex that you could as well used selenium.

To recap, it depends on the website!

code of conduct - report abuse