In-line inspection of main pipelines