Ok, I ran it again with different arguments and now I have a deadlinks folder. However, when I try to run it for a category with many pages, it hangs. If I do this:
python weblinkchecker.py -cat:People
It says
Retrieving 240 pages from mywiki:en.
And then it doesn't do anything else. Even 30 minutes later it had not changed.
Later I tried again with this:
python weblinkchecker.py -cat:People -step:5
And it says
Retrieving 240 pages from mywiki:en.
and hangs, just like before.
On Sun, May 29, 2016 at 5:03 PM, . kalwaria@gmail.com wrote:
I did a search for "deadlinks" and "results-mywiki.txt" and did not find those files. There is a "logs" subdirectory in the core_stable directory, but there is only one file in there, a text file called "commands." Should this deadlinks subdirectory exist now, or will it not be created until I run the bot a week later?
On Sun, May 29, 2016 at 10:15 AM, masti mastigm@gmail.com wrote:
look for the subdirectory called deadlinks it contains all data generated by the bot results-yourwiki.txt - a bot log (text) deadlinks-yourwiki.dat - a bot database (dump of python dictionary) so You can see what is going on
masti
On 05/28/2016 11:36 PM, . wrote:
Ok. I had added some dead links to the user page and was testing to see what it would do. Thank you!
On Sat, May 28, 2016 at 4:02 PM, masti mastigm@gmail.com wrote:
Hi, all the examples are in the script help. You have to run it on a list of pages not just Your user page the bot will create a database of the links it thinks are dead. the bot will only report links as dead if they are found dead at least twice several days apart. Default is 7 days. So once You run it through the whole namespace You will have to wait some days to rerun it. You can set the rquired period with -day parameter but less than a week does not make sense as it will report dead link for a temporary problems with site
masti
On 05/28/2016 07:18 PM, . wrote:
Hi all,
I'my trying to run weblinkchecker from my own computer. I've logged in to the bot account, but when I try to run weblink checker, like this:
python weblinkchecker.py UserPage:usernamegoeshere
I just get a very long bunch of help text on the screen "This bot is used for checking external links found at the wiki" etc. I don't know if I'm successfully running the script or not, and whether it's actually checking any links.
What am I doing wrong?
Thanks!
pywikibot mailing listpywikibot@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/pywikibot
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
pywikibot mailing listpywikibot@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/pywikibot
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot