Rob Hooft wrote:
shi zhao wrote: | how interwiki bot use on https?
SSL support is by default not enabled in python. And I personally have no experience on how this can be done. The best way seems to be via the m2crypto package, but I would not like the pywikipediabot package to be dependent on this package; it is difficult enough to use as is....
Anyone trying to add HTTPS code might want to have Python test for the package, then have the program behave reasonably both with and without such an optional package. This might include emitting an error message when an HTTPS address is provided on a system which does not support SSL, while retaining the existing non-SSL functionality for HTTP addresses.