I have a string like this:
{"index":11,"trackId":1394194,"isPaid":false,"tag":0,"title":"诗经_009周南_汉广","playCount":323093,"showLikeBtn":true,"isLike":false,"showShareBtn":true,"showCommentBtn":true,"showForwardBtn":true,"createDateFormat":"7年前","url":"/renwen/221727/1394194","duration":61,"isVideo":false,"videoCover":null,"isVipFirst":false,"breakSecond":0,"length":61}
Here is the info I want
诗经_009周南_汉广
My solution is
result = re.findall(r'\"title\":(.*?)\"(.*?)\"', str)
and result is
[ ('', '诗经_009周南_汉广')]
It start with title
, tag
is even better
do it greedy and least match to 广"
, then get content in middle
How to do it better?