Skip to content

Send regular updates about crawl status of our website and where there are broken links.

License

Notifications You must be signed in to change notification settings

johnisanerd/SlackLinkChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlackLinkChecker

Send regular updates about crawl status of our website and where there are broken links.

Setup

  1. Run install.sh
  2. Create a slack token for app authorization.
  3. Set the environmental variable for SLACK_API_TOKEN. You can add this to ~/.profile with the line export SLACK_API_TOKEN=YOURVARIABLEHERE

Run

Run the program with python ~/SlackLinkChecker/slackbot_link_reporter.py

Done:

  • Add install for wummel/linkchecker
  • Add instalcurl -F file=@test.csv -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 file=@test.csv -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!

About

Send regular updates about crawl status of our website and where there are broken links.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published