Hong Kong police have been searching some protesters and their bags as they leave the scene of massive protests against widely unpopular extradition legislation.