Don’t forget to respect `srcset` attributes when you Web scrape images from HTML! Sites use it for responsive images, so you might miss higher-res versions if you only check `src`.
Here’s how to grab both in BeautifulSoup:
```python
for img in soup.find_all('img'):
print(img.get('src') or img.get('srcset'))
```
Here’s how to grab both in BeautifulSoup:
```python
for img in soup.find_all('img'):
print(img.get('src') or img.get('srcset'))
```
