Right.. i think this is right.. i've used the dimensions you've set above.. I've not got this plugin installed as i've completely lost which one is the latest and how to install it:whacko:
Anyone willing to give me a quick breakdown on which files to download and what to do with them?
or anyone willing to test the code instead?
Anyone willing to give me a quick breakdown on which files to download and what to do with them?
or anyone willing to test the code instead?
Code:
#!/bin/bash
#Delete existing file if it exists
rm watch
#Grab the page we want
wget https://www.sky.com/watch
#Find all the links to the images we want and dump them in to links.txt
cat watch | grep -Eo "(http|https)://www.sky.com/assets2/[a-zA-Z0-9./?=_-]*" | sort | uniq > links.txt
#Step through the links in links.txt and download them
link=$(sed -n "1p" "links.txt")
link="${link:0:${#link}-3}"
name=toppicks1
extension=.jpg
resize=378:244
wget $link$resize -O $name$a$extension
link=$(sed -n "2p" "links.txt")
link="${link:0:${#link}-3}"
name=toppicks2
extension=.jpg
resize=183:244
wget $link$resize -O $name$a$extension
link=$(sed -n "3p" "links.txt")
link="${link:0:${#link}-3}"
name=toppicks3
extension=.jpg
resize=183:116
wget $link$resize -O $name$a$extension
link=$(sed -n "4p" "links.txt")
link="${link:0:${#link}-3}"
name=toppicks4
extension=.jpg
resize=183:116
wget $link$resize -O $name$a$extension
link=$(sed -n "5p" "links.txt")
link="${link:0:${#link}-3}"
name=toppicks5
extension=.jpg
resize=183:244
wget $link$resize -O $name$a$extension
link=$(sed -n "6p" "links.txt")
link="${link:0:${#link}-3}"
name=toppicks6
extension=.jpg
resize=183:116
wget $link$resize -O $name$a$extension