for img in soup.findAll('img', src=True): img['src'] = img['src'].replace('rpo54_195', 'rpoPanorama_786')