Customizing Wikipedia's Random Article Generator with Python

Veröffentlicht am: 31 Juli 2020
auf dem Kanal: Elle's Notes
1,292
38

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


Auf dieser Seite können Sie das Online-Video Customizing Wikipedia's Random Article Generator with Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Elle's Notes 31 Juli 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,292 Mal angesehen und es wurde von 38 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!