Actually it's appropriate to be writing about pirates from Edinburgh. The city was the childhood home of Robert Louis Stevenson who created the pirate tale to end all, "Treasure Island." Local legend claim it was either an island in a local park, or an island in the Firth of Forth inspired R.L.S. to create Jim Hawkins and Long John Silver.
The book inspired Walt Disney's first live action film, with the amazing Robert Newton strapping on the peg-leg and setting the standard to which even Mr Depp now has to meet.
Stevenson set part of another of his great adventure novels, with piratical overtones, just outside Edinburgh. The kidnapping in "Kidnapped" occurs at the Hawes Inn in South Queensferry. The place is still open and sports a great inn sign which leaves no doubt as to how some past patrons earned their keep.
That Disney TREASURE ISLAND is a great film! I remember a really good early 70's version of KIDNAPPED with Michael Caine, but it seems to have dissapeared from distribution.