get wikipedia source failed (urrlib2)

Lawrence Oluyede raims at
Tue Aug 7 11:53:18 CEST 2007

<shahargs at> wrote:
> This source works fine for other site. the problem is in wikipedia. is
> someone now any solution for this problem?

Wikipedia, AFAIK, bans requests without a User Agent.

Lawrence, -
"It is difficult to get a man to understand 
something when his salary depends on not
understanding it" - Upton Sinclair

More information about the Python-list mailing list