This is a program for extracting page