The output itself is working but how can i format the output or write it to a variable or array using outside the for loop ?
...
for item in soup.findAll('span', {"itemprop":"actor"}):
print item.text
...
Output example:
Sylvester Stallone
Arnold Schwarzenegger
But Output should look something like:
Actors: Sylvester Stallone, Arnold Schwarzenegger