The Pilley surname is generally thought to be habitational name from either the place name Pillay, in southern Yorkshire; or Pilley in Hampshire. These place names are both thought to derive from the Old English word "pil" or "pile," meaning a "post," and "leah," which refers to a clearing in the woods.
I note the marriage on family search, no detail. No baptisms for them in Cumberland, Lancashire or Notts. I do not see a baptism for John in Worksop or elsewhere in the County but in West Yorkshire the name seems more common.
It might be worth looking at this family but there are others and it is 100 miles from Greystoke.
Parents John a Nailer & Elizabeth, there are other children on freereg.
George PILLEY Baptism 06 Apr 1798 Yorkshire, West Riding Wentworth: Holy Trinity : Parish Register, abode Thorpe Hesley
John PILLEY Burial age 76 28 Mar 1839 Yorkshire, West Riding Wentworth: Holy Trinity : Parish Register Born about 1763 abode Thorpe
John PILLEY Baptism 2 Dec 1763 Yorkshire, West Riding Wentworth: Holy Trinity : Parish Register
Father James abode Thorpe but another John born 1768 father James?
Colin