In Pywikibot's file, convert the script to use the "requests" package

Pywikibot is a Python-based framework to write bots for MediaWiki (more information).

The file uses urllib/urllib2.urlopen. It should use requests.

See for more general information and background!

You are expected to provide a patch in Wikimedia Gerrit. Documentation on Gerrit is available.

Task tags

  • python
  • pywikibot

Students who completed this task

Rafid Aslam

Task type

  • code Code