look at operating based on a loop
This commit is contained in:
parent
2887636034
commit
d781bd321e
@ -1,7 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#greenhouse decorative
|
#greenhouse decorative
|
||||||
code=g_deco
|
for f in g_basket g_deco g_round g_square g_support g_trays n_flats n_round c_bohemian
|
||||||
|
code=f
|
||||||
url=https://hc-companies.com/planter_category/decorative-containers
|
url=https://hc-companies.com/planter_category/decorative-containers
|
||||||
#wget https://hc-companies.com/planter_category/decorative-containers/ -O g_deco.html
|
#wget https://hc-companies.com/planter_category/decorative-containers/ -O g_deco.html
|
||||||
echo "INSERT INTO scrape.raw (code,url, html) SELECT '$code' code, '$url' url, \$\$" | cat - "$code.html" >temp
|
echo "INSERT INTO scrape.raw (code,url, html) SELECT '$code' code, '$url' url, \$\$" | cat - "$code.html" >temp
|
||||||
|
Loading…
Reference in New Issue
Block a user