Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# select src tag
image_src = [x['src'] for x in images]
# select only jp format images
image_src = [x for x in image_src if x.endswith('.jpg')]
for image in image_src:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment