mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-01 07:51:08 -05:00
Wikifetch: fix quote_plus import
This commit is contained in:
parent
f45cb0d5e7
commit
400ffd7899
@ -51,7 +51,7 @@ if sys.version_info[0] < 3:
|
|||||||
raise ImportError('This plugin requires Python 3. For a legacy version of this plugin that still '
|
raise ImportError('This plugin requires Python 3. For a legacy version of this plugin that still '
|
||||||
'supports Python 2, consult the python2-legacy branch at '
|
'supports Python 2, consult the python2-legacy branch at '
|
||||||
'https://github.com/GLolol/SupyPlugins/tree/python2-legacy')
|
'https://github.com/GLolol/SupyPlugins/tree/python2-legacy')
|
||||||
from urllib import quote_plus
|
from urllib.parse import quote_plus
|
||||||
|
|
||||||
class Wikifetch(callbacks.Plugin):
|
class Wikifetch(callbacks.Plugin):
|
||||||
"""Grabs data from Wikipedia and other MediaWiki-powered sites."""
|
"""Grabs data from Wikipedia and other MediaWiki-powered sites."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user