I am getting two items in the main_watch_images list and just want to print the first one. I have tried to add [0] after the findall line, however it then prints every letter vertically. I figured this is because the for loop prints everything on a new line, but I can't manage to make it print all on one line.
# Extract the first image (this is always the main image) that is in the
# "LIMITED" category
main_watch_images = findall('<img.* src="([^"]+).*LIMITED"', dennisov_html)
# Convert the URL to a full address
for images in main_watch_images:
if images.startswith('/'):
images = 'https://denissov.ru' + images
print images
Note this is NOT the same question as the other ones. I am an absolute beginner and cannot understand the techniques and operators etc. used in the other answers. I need a specific answer to my problem.