Re: Python wiki editing help (mwclient)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ankur,

Check out this thread [1] from last year.

[1] http://lists.fedoraproject.org/pipermail/famsco/2011-October/000920.html

- Josh

~ Kirtan is Life! ~
Sent from my Mobile Device

On 23/06/2012, at 10:08 PM, Ankur Sinha <sanjay.ankur@xxxxxxxxx> wrote:

> Hi folks,
>
> I'm trying to write a simple python script to generate agenda pages for
> various team meetings. The initial version is here[1]. There's still
> work to be done to make it more convenient to use, even more generic so
> that all teams can use it.
>
> Now, using mwclient, I cannot add external links to the pages (such as
> timeanddate.com links, or the {{fpchat|fedora-channel}} template link),
> since it wants me to solve the captcha. Would anyone know if there's a
> way of retrieving the captcha question and answering it using python so
> that external links can be added? I wouldn't want to circumvent the
> captcha, since it's there to prevent spamming (mostly via bots and
> scripts :D), but I'd be glad if I could solve the captcha and post the
> page with external links.
>
> Most of this[2] wiki page is generated by the script. I've made changes
> later.
>
> It isn't a big deal: I can always add stuff a little malformed to get
> around the captcha and then correct the page manually. I was just
> wondering if it was possible to interact with the captcha.
>
> [1]
> https://gitorious.org/miscellaneous-sanjayankur31/miscellaneous-sanjayankur31/blobs/master/fedora-wiki-agenda-script/fedora-wiki-agenda.py
>
> [2] https://fedoraproject.org/wiki/Meeting:APAC_Ambassadors_2012-07-07
>
> --
> Thanks,
> Warm regards,
> Ankur: "FranciscoD"
>
> Please only print if necessary.
>
> Looking to contribute to Fedora? Look here: https://fedoraproject.org/wiki/Fedora_Join_SIG
>
> http://fedoraproject.org/wiki/User:Ankursinha
> http://dodoincfedora.wordpress.com/
> --
> docs mailing list
> docs@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe:
> https://admin.fedoraproject.org/mailman/listinfo/docs
-- 
docs mailing list
docs@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/docs



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux