Hi! First, I do realize that the problem that I'm gonna show you
following is probably easy to fix, but, well, I'm not so in to python
yet. Second, it appears to me that it is a problem that could affect
more people than me, since the task I'm trying to execute is not that
uncommon, I think, so if it were fixed it would help... more than one. =)
Here is the deal:
I'm trying to upload all the images from this page:
<http://pt.wikipedia.org/wiki/Portal:Anarquia/Acervo_de_imagens>
to another wiki website.
The bot seems to recognize the images, but instead of go to
"pt.wikipedia.org/Ficheiro:name-of-image.xxx" where they actually are,
he retypes the given url of the portal and add the
"ficheiro:name-of-image.xxx" part. For example, the first image of the
archive must be found at
<http://pt.wikipedia.org/wiki/Ficheiro:Cutters1.preview.jpg>, but
instead the bot tries to upload from
<http://pt.wikipedia.org/wiki/Portal:Anarquia//wiki/ficheiro:cutters1.preview.jpg>,
what obviously does not work. Here is the result in my terminal: "HTTP
Error 404: Not Found"
I'm wondering what should I do to fix it, which script to edit and what
change in it, since I am a Python newbie.
Thank you!
* "Ficheiro" is the portuguese equivalent to "file", in this case
Show replies by date