H
H
Hiro Kirigaya2019-05-01 13:39:52
Parsing
Hiro Kirigaya, 2019-05-01 13:39:52

How to get full page for parsing?

Good evening, I am writing a parser in C #, but there was a problem! I'm parsing the site http://web.archive.org/details/LINK using html save
using the xNET library

File.WriteAllText("test.html", response, Encoding.UTF8);

After opening the file, there is no Summary tab and others too. A clean page, although I indicated the site at the end of the search. http://web.archive.org/details/LINK(Search)
What advice would you give to a beginner in parsing?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
#
#, 2019-05-01
@mindtester

realize that modern front-end frameworks involve the execution of a lot of js code on the browser side. which, in turn, can significantly change the design, and download a significant part of the content. including styles
more reliably automate browsers. if you rely on C#, perhaps the CEF# project can be useful to you (as far as I remember, there is a mode and off-screen rendering (saving resources), but it is advisable only when your hand is already full)

M
Mir, 2019-05-01
@mir546

What is the purpose of parsing?
Parsing sites with a strong connection to JS without executing JS is useless.
If you want to earn money by parsing, use something like a zennoposter.
Can you learn to cheat with JS parsing? The V8 engine will greatly simplify the task.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question