I need a script that will take a keyword list I provide (keywords are already divided into groups) and then will automatically dig Wikipedia for the article written on each keyword in each group, clean the article from bullet points, remove [1], [2] number signs, and insert the article into a CSV file. If no article is found (very rare) - the script will return "NO RESULTS".
The script will create 3 columns in the CSV file: one for the keyword name, another one for it's relevant group and another - for the article from Wikipedia.
The script will also add a certain word or phrase that I will provide - to the end of each keyword in the keywords column in the CSV file.
More details and screenshots will be givven in private.
Thanks