Skip to content

Instantly share code, notes, and snippets.

@angelbotto
Last active December 10, 2015 03:28
Show Gist options
  • Save angelbotto/4374216 to your computer and use it in GitHub Desktop.
Save angelbotto/4374216 to your computer and use it in GitHub Desktop.
extraer imagenes de un css y descargarlas con wget

#Descargar imagenes de un css

para dar solucion a un pequeño problema que tuve, que necesicaba extraer todas las imagenes de un archivo css en especial.

  1. extraemos las imagenes.
    grep -o 'http[a-zA-Z0-9/.:_-]*' test.css > test/images.txt

  2. descargamos las imagenes. wget -i test/images.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment