Multiline regular expressions with python requests module