Customizing Wikipedia's Random Article Generator with Python

Publicado el: 31 julio 2020
en el canal de: Elle's Notes
1,263
37

In this video I create three functions to filter random wikipedia articles for better content. The first one excludes certain keywords if they appear in the articles extract, the second one specifically searches for articles with certain keywords in the articles extract and the final one searches the entire article for the keywords.
To do this I used the Wikimedia REST API, the python requests library, and the python webbrowser library.
https://requests.readthedocs.io/en/ma...
https://docs.python.org/2/library/web...

Before you can use the requests library, you need to install it on your machine. All i did was type 'pip install --user requests' to accomplish this. The official installation guide for the requests library is here https://requests.readthedocs.io/en/ma...

#python #pythonproject


En esta página del sitio puede ver el video en línea Customizing Wikipedia's Random Article Generator with Python de Duración hora minuto segunda en buena calidad , que subió el usuario Elle's Notes 31 julio 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,263 veces y le gustó 37 a los espectadores. Disfruta viendo!