I assume that by "it won't go," you mean that you get a syntax error, which you should. Here:
list=re.findall(‘u‘url‘: u‘/photo/"([^"]*)"‘,text)
you're using " when you mean '. This is causing a syntax error because " closes the string you're trying to pass re.findall. Try:
list_ = re.findall("u'url': u'/photo/([^']*)'", text)
Additionally, this isn't going to grab the text after photo, so you'll need to add more parens:
list_ = re.findall("u'url': u'(/photo/([^']*))'", text)
and now list_.group(1) should hold your string.
On top of that, it looks like you're dealing with JSON. A better approach might be:
import json
json.loads(text)
list_ = text['url']
object_name['url']instead of printing it out? If not, then could you post the relevant portion of your failing code?listas a name. it is a builtin function.