zhuyifei1999 added a comment.

Well, https://dumps.wikimedia.org/enwiki\latest\enwiki-latest-abstract.xml returns 404 response. Replace those backslashes with a forward slash and it should work. We should not use os.path.join to create a URL. This is a bug and should be easy to fix.

/me hates windows using backslashes...

Anyways, we could perhaps use urljoin (py2, py3), or str.format? I personally dislike a ton of string concatenations.


TASK DETAIL
https://phabricator.wikimedia.org/T183675

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: zhuyifei1999
Cc: Dalba, Ryan10145, Framawiki, Aklapper, Xqt, jayvdb, siebrand, Zoranzoki21, eflyjason, pywikibot-bugs-list, zhuyifei1999, Bright1055, Toppole69, Mine0901, Jayprakash12345, Magul, Tbscho, MayS, Beeyan, Mdupont, JJMC89, MtDu, D3r1ck01, Avicennasis, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to