Python Dictionary Method Get Url Parameter