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.

22 lines
711 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. )
  14. for url in ${urls[@]}; do
  15. fn=$(echo $url | sed 's#https://www.instagram.com/##' | sed 's#/#_#g')
  16. echo "$url > $fn"
  17. curl -i -s $url > data/www.instagram.com/$fn
  18. unix2dos data/www.instagram.com/$fn
  19. done