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.

24 lines
801 B

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