Python tools can also use the nifty toolforge library <https://wikitech.wikimedia.org/wiki/User:Legoktm/toolforge_library> to generate a suitable user agent automatically.
Cheers, Lucas Am Do., 4. Juli 2019 um 15:54 Uhr schrieb Léa Lacroix < lea.lacr...@wikimedia.de>: > Hello all, > > Since we recently received several messages about tools unable to access > the Query Service, I wanted to remind you about this email from Guillaume, > and especially this part: > > "As a reminder, any bot should use a user agent that allows to identify > it: https://meta.wikimedia.org/wiki/User-Agent_policy." > > If you're a tool builder and encountering issues with WDQS at the moment, > please check that your tool is compliant with those guidelines. > > Thanks for your understanding, > Léa > > ---------- Forwarded message --------- > From: Guillaume Lederrey <gleder...@wikimedia.org> > Date: Thu, 13 Jun 2019 at 19:53 > Subject: [Wikidata] Overload of query.wikidata.org > To: Discussion list for the Wikidata project. < > wikidata@lists.wikimedia.org> > > > Hello all! > > We are currently dealing with a bot overloading the Wikidata Query > Service. This bot does not look actively malicious, but does create > enough load to disrupt the service. As a stop gap measure, we had to > deny access to all bots using python-request user agent. > > As a reminder, any bot should use a user agent that allows to identify > it [1]. If you have trouble accessing WDQS, please check that you are > following those guidelines. > > More information and a proper incident report will be communicated as > soon as we are on top of things again. > > Thanks for your understanding! > > Guillaume > > > [1] https://meta.wikimedia.org/wiki/User-Agent_policy > > -- > Guillaume Lederrey > Engineering Manager, Search Platform > Wikimedia Foundation > UTC+2 / CEST > > _______________________________________________ > Wikidata mailing list > Wikidata@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikidata > > > -- > Léa Lacroix > Project Manager Community Communication for Wikidata > > Wikimedia Deutschland e.V. > Tempelhofer Ufer 23-24 > 10963 Berlin > www.wikimedia.de > > Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. > > Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg > unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt > für Körperschaften I Berlin, Steuernummer 27/029/42207. > _______________________________________________ > Wikidata mailing list > Wikidata@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikidata > -- Lucas Werkmeister (he/er) Full Stack Developer Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin Phone: +49 (0)30 219 158 26-0 https://wikimedia.de Imagine a world in which every single human being can freely share in the sum of all knowledge. Help us to achieve our vision! https://spenden.wikimedia.de Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207.
_______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata