Oct-21-2016, 09:05 PM
(Oct-21-2016, 08:59 PM)nilamo Wrote: Oh, you're not trying to parse html at all. The stuff you want is embedded within javascript objects.
In which case, this still isn't really a python problem, and http://www.regexpal.com/ is perfect for these sorts of things. Maybe...
regex = r'"text": "([^"]+)"'
The "HTML" code is an image of instagram... but, there would be another possibility to do perhaps with Json? or necessarily touches me out of the objects in javascript?