I need to run a diff mechanism on two HTML page sources to kick out all the generated data (like user session, etc.).
I wondering if there is a python module that can do that diff  and return me the  element that contains the difference (So I will kick him in the rest of my code in another sources)
You can use the difflib module. It's available as a part of standard python library.
How to diff between two HTML codes?