An earthquake measuring 4.5 on the Richter scale shook Asalem, a city, and capital of Asalem District, Talesh County, Gilan Province, on Friday.