Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple of questions #1

Closed
kennyklee opened this issue Mar 9, 2017 · 1 comment
Closed

Couple of questions #1

kennyklee opened this issue Mar 9, 2017 · 1 comment

Comments

@kennyklee
Copy link

Hey there. Great work here!

Couple of questions.

  1. What are the sources for the data? Is it from all sites listed under 'Data Sheet'?
  2. How often are you planning to update these? I hope it's automated. :)
@maravento
Copy link
Owner

maravento commented Mar 11, 2017

Thank you for your interest in our project.

  1. Check Sources
  2. create a bash and schedule it in the crontab:
#!/usr/bin/env bash
dstblackweb="/path_to_acl/blackweb.txt" # change with your own path
wget -q -N https://raw.githubusercontent.com/maravento/blackweb/master/blackweb.tar.gz && cat blackweb.tar.gz* | tar xzf -
wget -q -N https://raw.githubusercontent.com/maravento/blackweb/master/checksum.md5
md5sum blackweb.txt | awk '{print $1}' && cat checksum.md5 | awk '{print $1}'
cp -f blackweb.txt $dstblackweb
rm -rfv blackweb* checksum*

sudo crontab -e
@monthly /path_to_script/blackweb_update.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants