def getTitle(): title = getPageTitle(request.args.get('url')) response = { 'Page Title': title } return json.dumps(response)
def title(): pageTitle = getPageTitle(request.args.get('link_url')) return pageTitle