在 Google Compute Engine 服务器 ( Linux instance-1 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
) 上,pywikibot 无法上传大文件并出现以下错误:
pywikibot.data.api.APIError: missingparam: One of the parameters "filekey", "file" and "url" is required. [help:See https://chinadigitaltimes.net/space/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.]
1 pages read
0 pages written
Script terminated successfully.
我需要上传最大 2GB 的文件。我怎样才能用 pywikibot 做到这一点?