simple method to extract wikipedia abstract title = "Google" abstract = fetch_abstract(title) print(abstract)