What would be the simplest way to get the title of a page in Requests?
r = requests.get(\'http://www.imdb.com/title/tt0108778/\') # ? r.title Friends (TV Ser
Regex with lookbehind and lookforward:
re.search('(?<=).+?(?=)', mytext, re.DOTALL).group().strip()
re.DOTALL because title can have a new line character \n
re.DOTALL
\n