this pic comes from Flickr.
I get it by deleting the last line. there's a spot in the code where the URL brackets are back to back. that's where you make the split.
Had to take pics of the code in order to show it. this next one is where to copy the code.
Just click on copy then paste the code in full editor. that's where I delete the last string.