Create getPage.py

Function to convert page into body and category.