structured_scraper/example
loviuz 116835eea4 Aggiunta file di esempio per test 2022-01-08 15:23:02 +01:00
..
pagina1/sub1.1 Aggiunta file di esempio per test 2022-01-08 15:23:02 +01:00
pagina2 Aggiunta file di esempio per test 2022-01-08 15:23:02 +01:00
README.md Aggiunta file di esempio per test 2022-01-08 15:23:02 +01:00

README.md

Esempio

Copia questa cartella nel tuo web server in modo che sia raggiungibile ad esempio a questa URL:

http://localhost/example

Inserendo negli $start_url l'indirizzo sopra e avviando lo script, l'output dovrebbe essere:

[0] http://localhost/example/pagina1
[1] http://localhost/example/pagina1/sub1.1
[1] http://localhost/example/pagina1/sub1.2
[1] http://localhost/example/pagina1/sub1.3
[2] http://localhost/example/pagina1/sub1.1/subsub1.1.1
[2] http://localhost/example/pagina1/sub1.1/subsub1.1.2
[0] http://localhost/example/pagina2
[1] http://localhost/example/pagina2/sub2.1
[1] http://localhost/example/pagina2/sub2.2
[1] http://localhost/example/pagina2/sub2.3