V
V
veitmen2013-12-20 22:13:36
Python
veitmen, 2013-12-20 22:13:36

How to compare two Html files to get a list of changes?

Good afternoon.
There are two Html files. You need to get a list of differences between them. For example: this div has been removed, this one has been changed, this one has been added.
Where to dig? Is there something ready at least for strings (in extreme cases, you can parse Html)?
Thank you.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
veitmen, 2013-12-21
@veitmen

No extra dependencies and very simple:
https://github.com/aaronsw/htmldiff

A
Arthur A., 2015-03-29
@dokxpi

Better Quick . This web service will allow you to quickly conduct a comparative analysis of two fragments of text. Just paste and compare!

N
Nephalim, 2013-12-21
@Nephalim

Winmerge

C
connected201, 2013-12-21
@connected201

winmerge is good too!

V
veitmen, 2013-12-20
@veitmen

In general, there is a lot. You just have to ask the right questions to Google.
lxml.de/index.html
https://code.google.com/p/google-diff-match-patch/...
https://github.com/christian-oudard/htmltreediff
www.aaronsw.com/2002 /diff

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question