M
M
Medvedoc2018-03-29 19:09:41
Parsing
Medvedoc, 2018-03-29 19:09:41

How to parse a page into an html file and organize the data into folders?

Good evening! Guys, tell me or throw a link to a specific example of how you can parse the entire page using a simple link and get the following output:
1. Saved page in html format
2. Parse all css styles from the page and save them to a folder as a file with the css extension
3. Parse all js scripts from the page and save them to a folder as a file with the js extension
4. Parse all pictures from the page and save them to a folder
In this case, if, for example, a script, style or picture has a link like
domen.ru/folder/subfolder/name. css
was saved to a file named name in css format in the subfolder folder, which is nested in the folder folder
And how can this be done in multiparsing?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question