I'm looking for a little python script that writes the HTML-code of several websites (the sites differ only in integers at the end of the url) in a file. The website is displayed in its HTML-code.
Since the HTML-file contains some information I don't need, it's not necessary to save the whole website.
I only need the content which is in the tag "<html xmlns = "http://www.test.de">". In this tag, there is another tag, "<head>", whose content I don't need, either.
In addition to the constrictions above, I don't need to copy the meta-data (i.e. "[: ... :]") which can appear in the tag we want to copy.
Furthermore, it should be added after each page a line break, the tag "<hr>", again a line break, and now, the whole thing can be repeated with the next page. If it's the last page, there shouldn't be inserted the tag "<hr>".
Is this comprehensible? :S
However, I would be grateful for every propositon and for every hints
Thanks a lot!