You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1021 B

  1. #!/bin/bash
  2. urls=(
  3. 'https://www.instagram.com/aaronpk/'
  4. 'https://www.instagram.com/indiewebcat/'
  5. 'https://www.instagram.com/kmikeym/'
  6. 'https://www.instagram.com/microformats/'
  7. 'https://www.instagram.com/pk_spam/'
  8. 'https://www.instagram.com/p/BO5rYVElvJq/'
  9. 'https://www.instagram.com/p/BGDpqNoiMJ0/'
  10. 'https://www.instagram.com/p/BO_RN8AFZSx/'
  11. 'https://www.instagram.com/p/BNfqVfVlmkj/'
  12. 'https://www.instagram.com/p/BN3Z5salSys/'
  13. 'https://www.instagram.com/p/BZWmUB_DVtp/'
  14. 'https://www.instagram.com/p/BZWmpecjBwN/'
  15. 'https://www.instagram.com/explore/locations/109284789535230/'
  16. 'https://www.instagram.com/explore/locations/359000003/'
  17. 'https://www.instagram.com/p/BsdjKytBZyx/'
  18. 'https://www.instagram.com/p/BsdlOmLh_IX/'
  19. 'https://www.instagram.com/p/Bq8U12UAcdq/'
  20. )
  21. for url in ${urls[@]}; do
  22. fn=$(echo $url | sed 's#https://www.instagram.com/##' | sed 's#/#_#g')
  23. echo "$url > $fn"
  24. curl -i -s $url > data/www.instagram.com/$fn
  25. unix2dos data/www.instagram.com/$fn
  26. sleep 2
  27. done