Send regular updates about crawl status of our website and where there are broken links.
- Run install.sh
- Create a slack token for app authorization.
- Set the environmental variable for SLACK_API_TOKEN. You can add this to ~/.profile with the line
export SLACK_API_TOKEN=YOURVARIABLEHERE
Run the program with python ~/SlackLinkChecker/slackbot_link_reporter.py
Done:
- Add install for wummel/linkchecker
- Add instalcurl -F [email protected] -F ti/api/files.uploadontent="Hello" -F channels=#website-broken-links -F token=$SLACK_API_TOKEN https://slack.com/ l for slackapi/python-slackclient
- For Upload use the command
curl -F [email protected] -F title="Hello!" -F content="Hello" -F channels=#website-broken-links -F token=$SLACK_API_TOKEN https://slack.com/api/files.upload
Source - Find an optimal recursion level for the Pi memory of only a GB.
- See if we can pair down overlaps.
- Comb through and setup things to remove.
Todo: NOTHING!
Records: 11/17/2017 - Found about 750 broken links. Tuned up on redirects!