I have this piece of code that find all the wikipedia articles that have the template dubious using the library pywikibot:
pages = pywikibot.Page(site, "Template:Dubious").getReferences(namespaces = 0)
Now I need to find all Featured articles. I guess that it can be done using the right search string, but I don't know which is.