https://bugzilla.wikimedia.org/show_bug.cgi?id=55100
Web browser: ---
Bug ID: 55100
Summary: Use API module 'parse' for retrieving interwiki links
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: interwiki.py
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/151/
Reported by: melancholie
Created on: 2008-06-13 14:47:11
Subject: Use API module 'parse' for retrieving interwiki links
Original description:
Currently pages are retrieved in a batch by using Special:Export.
Although being fast \(as only one request is done\), there is a huge data
overhead with this method\!
Why not use the API with its 'parse' module? Only interwiki links can be
fetched with that, reducing traffic \(overhead\) a lot\!
See:
http://de.wikipedia.org/w/api.php?action=parse&format=xml&page=Test&prop=langlinks
Outputs could be downloaded in parallel to virtualize a batch \(faster\).
\----
At least make this method optional \(config.py\) for being able of reducing
data traffic, if wanted. API is just more efficient.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs