mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2026-11-18 07:50:38 +00:00
4 lines
167 B
Python
4 lines
167 B
Python
from _apilib import get, a
|
|
lang=a(2,"en"); import urllib.parse
|
|
get(f"https://{lang}.wikipedia.org/api/rest_v1/page/summary/{urllib.parse.quote(a(1))}","wikipedia")
|