Fetch Wikipedia page content

This script uses the Wikipedia library to fetch and return the content of a Wikipedia page. By default, it retrieves the content of the page for "Nicolas Bourbaki" but can be customized to fetch any page by specifying a different page name. It's a simple way to access and read Wikipedia page contents programmatically.

Script windmill

by henri186 ยท 4/17/2024

Other submissions
  • Submitted by henri186 Python3
    Created 755 days ago
    1
    import wikipedia
    2
    
    
    3
    def main(page: str = "Nicolas Bourbaki"):
    4
        page_content = wikipedia.page(page).content
    5
        return(page_content)
  • Submitted by spamihamar5663 Bun
    Created 144 days ago
    1
    // import * as wmill from 'windmill-client'
    2
    
    
    3
    export async function main(x: string) {
    4
      return x
    5
    }