surf-adblock-dl 690 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. # download Adblock/ublock lists and merge them.
  3. set -x -e
  4. for l in \
  5. https://easylist.github.io/easylist/easylist.txt\
  6. https://easylist.github.io/easylist/easyprivacy.txt\
  7. https://easylist-downloads.adblockplus.org/antiadblockfilters.txt\
  8. https://easylist-downloads.adblockplus.org/easylistdutch.txt\
  9. https://easylist.github.io/easylistgermany/easylistgermany.txt\
  10. https://easylist-downloads.adblockplus.org/liste_fr.txt\
  11. https://easylist.github.io/easylist/fanboy-annoyance.txt\
  12. https://easylist.github.io/easylist/fanboy-social.txt; do
  13. curl -L "$l"
  14. echo "" # not all lists have line at EOF.
  15. done | awk '!x[$0]++'
  16. # ^ remove duplicate lines but keep the order.