I want to your below codes to retrive data from google finance. But I want to use for multiple Span Id.

Could you please let me know how I can modify the below codes for multiple span ID?