Added python version of getDomainPages
Added python version of getDomainPages