Python 3 Script to Scrape Wikipedia API Articles For Keyword or Term Using pywhatkit Library Full Project For Beginners



pip install pywhatkit



# Amresh Ranjan.

import pywhatkit as kt

print('Wiki Summery wait few seconds!\n')

target1 = "Python"
target2 = 'Tom Latham'







As you can see you can also control which term or keyword you want to scrape the wikipedia and also you can control the number of lines to scrape from the api.


Leave a Reply