|
|
|
|
@ -7,11 +7,16 @@ items=$(curl --location 'https://gethomeroom.com/__proxy__/cluster' \
|
|
|
|
|
--data-urlencode 'method=GET' \
|
|
|
|
|
--data-urlencode 'headers=' \
|
|
|
|
|
--data-urlencode 'body=' \
|
|
|
|
|
--data-urlencode 'csrfToken=55G9WSTNtXWCh9cc5nh1YQ==' | jq -r -c ".body.photos[].imageUrls.print")
|
|
|
|
|
--data-urlencode 'csrfToken=55G9WSTNtXWCh9cc5nh1YQ==' | jq -r -c ".body.photos[].videoUrls.fullsize")
|
|
|
|
|
#--data-urlencode 'csrfToken=55G9WSTNtXWCh9cc5nh1YQ==' | jq -r -c ".body.photos[].imageUrls.print")
|
|
|
|
|
index=1
|
|
|
|
|
for item in ${items[@]}; do
|
|
|
|
|
if [ $item != "null" ]; then
|
|
|
|
|
#echo $item
|
|
|
|
|
wget -O ~/Downloads/movies/$index.mp4 $item
|
|
|
|
|
fi
|
|
|
|
|
#echo $index
|
|
|
|
|
#echo $index.jpeg
|
|
|
|
|
wget -O images/$index.jpeg $item
|
|
|
|
|
#wget -O images/$index.jpeg $item
|
|
|
|
|
((index++))
|
|
|
|
|
done
|
|
|
|
|
|