This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
imagenes_de_amazon [26/06/2007 18:19] 127.0.0.1 editor externo |
imagenes_de_amazon [15/10/2009 00:00] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Descarga de imágenes de Amazon ====== | ||
- | |||
- | Las imágenes de cubiertas de libros están disponibles en URLs como esta: | ||
- | |||
- | http://images.amazon.com/images/P/[ISBN].01.MZZZZZZZ.jpg | ||
- | |||
- | Por ejemplo, el libro //[[http://images.amazon.com/images/P/3764324163.01.MZZZZZZZ.jpg|Laws of small numbers : extremes and rare events]]// tiene esta cubierta: | ||
- | |||
- | http://images.amazon.com/images/P/3764324163.01.MZZZZZZZ.jpg | ||
- | |||
- | Es posible descargar un conjunto de imágenes asociadas a libros que tenemos catalogados, usando este comando | ||
- | |||
- | mx biblio "pft=@tapas.pft" from=[a] to=[b] now | ||
- | |||
- | donde ''[a]'' y ''[b]'' delimitan un rango de registros, y el archivo ''tapas.pft'' contiene: | ||
- | |||
- | ( | ||
- | if v20^a <> '' then | ||
- | system( | ||
- | 'wget http://images.amazon.com/images/P/',v20^a.10,'.01.MZZZZZZZ.jpg ', | ||
- | '-O ',v1[1], if iocc > 1 then '-',f(iocc,1,0) fi,'.jpg' | ||
- | ) | ||
- | fi | ||
- | ) | ||